public class MerchantBankProcessing extends GenericParcelable implements Validator, JSONifiable
Bank data for a merchant
Modifier and Type | Class and Description |
---|---|
static interface |
MerchantBankProcessing.Constraints |
JSONifiable.Creator<T>
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<MerchantBankProcessing> |
CREATOR |
static JSONifiable.Creator<MerchantBankProcessing> |
JSON_CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier | Constructor and Description |
---|---|
|
MerchantBankProcessing()
Constructs a new empty instance.
|
protected |
MerchantBankProcessing(boolean noInit)
Constructs a new empty instance.
|
|
MerchantBankProcessing(JSONObject jsonObject)
Construct a new instance backed by the given JSONObject, the parameter is not copied so changes to it will be
reflected in this instance and vice-versa.
|
|
MerchantBankProcessing(MerchantBankProcessing src)
Constructs a new instance that is a deep copy of the source instance.
|
|
MerchantBankProcessing(String json)
Constructs a new instance from the given JSON String.
|
Modifier and Type | Method and Description |
---|---|
void |
clearAchRollup()
Clears the 'achRollup' field, the 'has' method for this field will now return false
|
void |
clearBin()
Clears the 'bin' field, the 'has' method for this field will now return false
|
void |
clearClearingCode()
Clears the 'clearingCode' field, the 'has' method for this field will now return false
|
void |
clearCreatedTime()
Clears the 'createdTime' field, the 'has' method for this field will now return false
|
void |
clearIca()
Clears the 'ica' field, the 'has' method for this field will now return false
|
void |
clearMerchantRef()
Clears the 'merchantRef' field, the 'has' method for this field will now return false
|
void |
clearModifiedTime()
Clears the 'modifiedTime' field, the 'has' method for this field will now return false
|
void |
clearPayCode()
Clears the 'payCode' field, the 'has' method for this field will now return false
|
void |
clearPayCycle()
Clears the 'payCycle' field, the 'has' method for this field will now return false
|
boolean |
containsChanges()
Returns true if this instance has any changes.
|
MerchantBankProcessing |
copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.
|
String |
getAchRollup()
ACH rollup
|
String |
getBin()
Bank identification number of bank
|
String |
getClearingCode()
Clearing code
|
Long |
getCreatedTime()
Date record created
|
protected GenericClient |
getGenericClient() |
String |
getIca()
Interbank Card Association
|
JSONObject |
getJSONObject()
Returns the internal JSONObject backing this instance, the return value is not a copy so changes to it will be
reflected in this instance and vice-versa.
|
Reference |
getMerchantRef() |
Long |
getModifiedTime()
Date record modified
|
String |
getPayCode()
Pay code
|
String |
getPayCycle()
Pay cycle
|
boolean |
hasAchRollup()
Checks whether the 'achRollup' field has been set, however the value could be null
|
boolean |
hasBin()
Checks whether the 'bin' field has been set, however the value could be null
|
boolean |
hasClearingCode()
Checks whether the 'clearingCode' field has been set, however the value could be null
|
boolean |
hasCreatedTime()
Checks whether the 'createdTime' field has been set, however the value could be null
|
boolean |
hasIca()
Checks whether the 'ica' field has been set, however the value could be null
|
boolean |
hasMerchantRef()
Checks whether the 'merchantRef' field has been set, however the value could be null
|
boolean |
hasModifiedTime()
Checks whether the 'modifiedTime' field has been set, however the value could be null
|
boolean |
hasPayCode()
Checks whether the 'payCode' field has been set, however the value could be null
|
boolean |
hasPayCycle()
Checks whether the 'payCycle' field has been set, however the value could be null
|
boolean |
isNotNullAchRollup()
Checks whether the 'achRollup' field is set and is not null
|
boolean |
isNotNullBin()
Checks whether the 'bin' field is set and is not null
|
boolean |
isNotNullClearingCode()
Checks whether the 'clearingCode' field is set and is not null
|
boolean |
isNotNullCreatedTime()
Checks whether the 'createdTime' field is set and is not null
|
boolean |
isNotNullIca()
Checks whether the 'ica' field is set and is not null
|
boolean |
isNotNullMerchantRef()
Checks whether the 'merchantRef' field is set and is not null
|
boolean |
isNotNullModifiedTime()
Checks whether the 'modifiedTime' field is set and is not null
|
boolean |
isNotNullPayCode()
Checks whether the 'payCode' field is set and is not null
|
boolean |
isNotNullPayCycle()
Checks whether the 'payCycle' field is set and is not null
|
void |
mergeChanges(MerchantBankProcessing src)
Copy all the changed fields from the given source to this instance.
|
void |
resetChangeLog()
Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.
|
MerchantBankProcessing |
setAchRollup(String achRollup)
Sets the field 'achRollup'.
|
MerchantBankProcessing |
setBin(String bin)
Sets the field 'bin'.
|
MerchantBankProcessing |
setClearingCode(String clearingCode)
Sets the field 'clearingCode'.
|
MerchantBankProcessing |
setCreatedTime(Long createdTime)
Sets the field 'createdTime'.
|
MerchantBankProcessing |
setIca(String ica)
Sets the field 'ica'.
|
MerchantBankProcessing |
setMerchantRef(Reference merchantRef)
Sets the field 'merchantRef'.
|
MerchantBankProcessing |
setModifiedTime(Long modifiedTime)
Sets the field 'modifiedTime'.
|
MerchantBankProcessing |
setPayCode(String payCode)
Sets the field 'payCode'.
|
MerchantBankProcessing |
setPayCycle(String payCycle)
Sets the field 'payCycle'.
|
void |
validate() |
describeContents, getBundle, toString, writeToParcel
public static final Parcelable.Creator<MerchantBankProcessing> CREATOR
public static final JSONifiable.Creator<MerchantBankProcessing> JSON_CREATOR
public MerchantBankProcessing()
protected MerchantBankProcessing(boolean noInit)
public MerchantBankProcessing(String json) throws IllegalArgumentException
IllegalArgumentException
public MerchantBankProcessing(JSONObject jsonObject)
public MerchantBankProcessing(MerchantBankProcessing src)
public Reference getMerchantRef()
public String getBin()
public String getPayCode()
public String getClearingCode()
public String getIca()
public String getPayCycle()
public String getAchRollup()
public Long getCreatedTime()
public Long getModifiedTime()
protected GenericClient getGenericClient()
getGenericClient
in class GenericParcelable
public JSONObject getJSONObject()
getJSONObject
in interface JSONifiable
public boolean isNotNullMerchantRef()
public boolean isNotNullBin()
public boolean isNotNullPayCode()
public boolean isNotNullClearingCode()
public boolean isNotNullIca()
public boolean isNotNullPayCycle()
public boolean isNotNullAchRollup()
public boolean isNotNullCreatedTime()
public boolean isNotNullModifiedTime()
public boolean hasMerchantRef()
public boolean hasBin()
public boolean hasPayCode()
public boolean hasClearingCode()
public boolean hasIca()
public boolean hasPayCycle()
public boolean hasAchRollup()
public boolean hasCreatedTime()
public boolean hasModifiedTime()
public MerchantBankProcessing setMerchantRef(Reference merchantRef)
public MerchantBankProcessing setBin(String bin)
public MerchantBankProcessing setPayCode(String payCode)
public MerchantBankProcessing setClearingCode(String clearingCode)
public MerchantBankProcessing setIca(String ica)
public MerchantBankProcessing setPayCycle(String payCycle)
public MerchantBankProcessing setAchRollup(String achRollup)
public MerchantBankProcessing setCreatedTime(Long createdTime)
public MerchantBankProcessing setModifiedTime(Long modifiedTime)
public void clearMerchantRef()
public void clearBin()
public void clearPayCode()
public void clearClearingCode()
public void clearIca()
public void clearPayCycle()
public void clearAchRollup()
public void clearCreatedTime()
public void clearModifiedTime()
public boolean containsChanges()
public void resetChangeLog()
public MerchantBankProcessing copyChanges()
public void mergeChanges(MerchantBankProcessing src)