public class Ach extends GenericParcelable implements Validator, JSONifiable
Modifier and Type | Class and Description |
---|---|
static interface |
Ach.Constraints |
JSONifiable.Creator<T>
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<Ach> |
CREATOR |
static JSONifiable.Creator<Ach> |
JSON_CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier | Constructor and Description |
---|---|
|
Ach()
Constructs a new empty instance.
|
|
Ach(Ach src)
Constructs a new instance that is a deep copy of the source instance.
|
protected |
Ach(boolean noInit)
Constructs a new empty instance.
|
|
Ach(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.
|
|
Ach(String json)
Constructs a new instance from the given JSON String.
|
Modifier and Type | Method and Description |
---|---|
void |
clearAccountLast4()
Clears the 'account_last4' field, the 'has' method for this field will now return false
|
void |
clearAccountStatus()
Clears the 'account_status' field, the 'has' method for this field will now return false
|
void |
clearAccountStatusDesc()
Clears the 'account_status_desc' field, the 'has' method for this field will now return false
|
void |
clearAccountValidationDetails()
Clears the 'account_validation_details' field, the 'has' method for this field will now return false
|
void |
clearBankName()
Clears the 'bank_name' field, the 'has' method for this field will now return false
|
void |
clearCorporateAccountFlag()
Clears the 'corporate_account_flag' field, the 'has' method for this field will now return false
|
void |
clearCreatedTime()
Clears the 'created_time' field, the 'has' method for this field will now return false
|
void |
clearFdAccountId()
Clears the 'fd_account_id' field, the 'has' method for this field will now return false
|
void |
clearFdCustomerId()
Clears the 'fd_customer_id' field, the 'has' method for this field will now return false
|
void |
clearId()
Clears the 'id' field, the 'has' method for this field will now return false
|
void |
clearModifiedTime()
Clears the 'modified_time' field, the 'has' method for this field will now return false
|
void |
clearReferenceTransactionId()
Clears the 'reference_transaction_id' field, the 'has' method for this field will now return false
|
void |
clearRoutingLast4()
Clears the 'routing_last4' field, the 'has' method for this field will now return false
|
void |
clearTokenMetaId()
Clears the 'token_meta_id' field, the 'has' method for this field will now return false
|
void |
clearTransactionStatus()
Clears the 'transaction_status' field, the 'has' method for this field will now return false
|
void |
clearTransactionStatusCode()
Clears the 'transaction_status_code' field, the 'has' method for this field will now return false
|
void |
clearTransactionStatusDesc()
Clears the 'transaction_status_desc' field, the 'has' method for this field will now return false
|
boolean |
containsChanges()
Returns true if this instance has any changes.
|
Ach |
copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.
|
String |
getAccountLast4()
Last4 of bank account
|
String |
getAccountStatus()
Numeric value which defines the status of ACH account.
|
String |
getAccountStatusDesc()
Short description which describes the accountStatus.
|
List<ValidationDetails> |
getAccountValidationDetails()
List of connect pay validation details
|
String |
getBankName()
Name of the bank
|
CorporateAccountFlag |
getCorporateAccountFlag()
Corporate account flag
|
Long |
getCreatedTime() |
String |
getFdAccountId()
first data ach account number
|
String |
getFdCustomerId()
Unique consumer identifier in Fiserv Telecheck.
|
protected GenericClient |
getGenericClient() |
String |
getId()
Unique identifier for the object.
|
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.
|
Long |
getModifiedTime() |
String |
getReferenceTransactionId()
Unique ID for each Transaction which could be used to trace a transaction.
|
String |
getRoutingLast4()
Last4 of bank routing
|
Long |
getTokenMetaId()
token meta id in the db
|
String |
getTransactionStatus()
Overall status of the call.
|
Long |
getTransactionStatusCode()
Unique code signifying detailed transaction status
|
String |
getTransactionStatusDesc()
Short description of the above code.
|
boolean |
hasAccountLast4()
Checks whether the 'account_last4' field has been set, however the value could be null
|
boolean |
hasAccountStatus()
Checks whether the 'account_status' field has been set, however the value could be null
|
boolean |
hasAccountStatusDesc()
Checks whether the 'account_status_desc' field has been set, however the value could be null
|
boolean |
hasAccountValidationDetails()
Checks whether the 'account_validation_details' field has been set, however the value could be null
|
boolean |
hasBankName()
Checks whether the 'bank_name' field has been set, however the value could be null
|
boolean |
hasCorporateAccountFlag()
Checks whether the 'corporate_account_flag' field has been set, however the value could be null
|
boolean |
hasCreatedTime()
Checks whether the 'created_time' field has been set, however the value could be null
|
boolean |
hasFdAccountId()
Checks whether the 'fd_account_id' field has been set, however the value could be null
|
boolean |
hasFdCustomerId()
Checks whether the 'fd_customer_id' field has been set, however the value could be null
|
boolean |
hasId()
Checks whether the 'id' field has been set, however the value could be null
|
boolean |
hasModifiedTime()
Checks whether the 'modified_time' field has been set, however the value could be null
|
boolean |
hasReferenceTransactionId()
Checks whether the 'reference_transaction_id' field has been set, however the value could be null
|
boolean |
hasRoutingLast4()
Checks whether the 'routing_last4' field has been set, however the value could be null
|
boolean |
hasTokenMetaId()
Checks whether the 'token_meta_id' field has been set, however the value could be null
|
boolean |
hasTransactionStatus()
Checks whether the 'transaction_status' field has been set, however the value could be null
|
boolean |
hasTransactionStatusCode()
Checks whether the 'transaction_status_code' field has been set, however the value could be null
|
boolean |
hasTransactionStatusDesc()
Checks whether the 'transaction_status_desc' field has been set, however the value could be null
|
boolean |
isNotEmptyAccountValidationDetails()
Checks whether the 'account_validation_details' field is set and is not null and is not empty
|
boolean |
isNotNullAccountLast4()
Checks whether the 'account_last4' field is set and is not null
|
boolean |
isNotNullAccountStatus()
Checks whether the 'account_status' field is set and is not null
|
boolean |
isNotNullAccountStatusDesc()
Checks whether the 'account_status_desc' field is set and is not null
|
boolean |
isNotNullAccountValidationDetails()
Checks whether the 'account_validation_details' field is set and is not null
|
boolean |
isNotNullBankName()
Checks whether the 'bank_name' field is set and is not null
|
boolean |
isNotNullCorporateAccountFlag()
Checks whether the 'corporate_account_flag' field is set and is not null
|
boolean |
isNotNullCreatedTime()
Checks whether the 'created_time' field is set and is not null
|
boolean |
isNotNullFdAccountId()
Checks whether the 'fd_account_id' field is set and is not null
|
boolean |
isNotNullFdCustomerId()
Checks whether the 'fd_customer_id' field is set and is not null
|
boolean |
isNotNullId()
Checks whether the 'id' field is set and is not null
|
boolean |
isNotNullModifiedTime()
Checks whether the 'modified_time' field is set and is not null
|
boolean |
isNotNullReferenceTransactionId()
Checks whether the 'reference_transaction_id' field is set and is not null
|
boolean |
isNotNullRoutingLast4()
Checks whether the 'routing_last4' field is set and is not null
|
boolean |
isNotNullTokenMetaId()
Checks whether the 'token_meta_id' field is set and is not null
|
boolean |
isNotNullTransactionStatus()
Checks whether the 'transaction_status' field is set and is not null
|
boolean |
isNotNullTransactionStatusCode()
Checks whether the 'transaction_status_code' field is set and is not null
|
boolean |
isNotNullTransactionStatusDesc()
Checks whether the 'transaction_status_desc' field is set and is not null
|
void |
mergeChanges(Ach 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.
|
Ach |
setAccountLast4(String account_last4)
Sets the field 'account_last4'.
|
Ach |
setAccountStatus(String account_status)
Sets the field 'account_status'.
|
Ach |
setAccountStatusDesc(String account_status_desc)
Sets the field 'account_status_desc'.
|
Ach |
setAccountValidationDetails(List<ValidationDetails> account_validation_details)
Sets the field 'account_validation_details'.
|
Ach |
setBankName(String bank_name)
Sets the field 'bank_name'.
|
Ach |
setCorporateAccountFlag(CorporateAccountFlag corporate_account_flag)
Sets the field 'corporate_account_flag'.
|
Ach |
setCreatedTime(Long created_time)
Sets the field 'created_time'.
|
Ach |
setFdAccountId(String fd_account_id)
Sets the field 'fd_account_id'.
|
Ach |
setFdCustomerId(String fd_customer_id)
Sets the field 'fd_customer_id'.
|
Ach |
setId(String id)
Sets the field 'id'.
|
Ach |
setModifiedTime(Long modified_time)
Sets the field 'modified_time'.
|
Ach |
setReferenceTransactionId(String reference_transaction_id)
Sets the field 'reference_transaction_id'.
|
Ach |
setRoutingLast4(String routing_last4)
Sets the field 'routing_last4'.
|
Ach |
setTokenMetaId(Long token_meta_id)
Sets the field 'token_meta_id'.
|
Ach |
setTransactionStatus(String transaction_status)
Sets the field 'transaction_status'.
|
Ach |
setTransactionStatusCode(Long transaction_status_code)
Sets the field 'transaction_status_code'.
|
Ach |
setTransactionStatusDesc(String transaction_status_desc)
Sets the field 'transaction_status_desc'.
|
void |
validate() |
describeContents, getBundle, toString, writeToParcel
public static final Parcelable.Creator<Ach> CREATOR
public static final JSONifiable.Creator<Ach> JSON_CREATOR
public Ach()
protected Ach(boolean noInit)
public Ach(String json) throws IllegalArgumentException
IllegalArgumentException
public Ach(JSONObject jsonObject)
public Ach(Ach src)
public String getId()
public Long getTokenMetaId()
public String getFdAccountId()
public String getFdCustomerId()
public String getAccountLast4()
public String getRoutingLast4()
public String getBankName()
public CorporateAccountFlag getCorporateAccountFlag()
public String getAccountStatus()
public String getAccountStatusDesc()
public String getTransactionStatus()
public Long getTransactionStatusCode()
public String getTransactionStatusDesc()
public String getReferenceTransactionId()
public List<ValidationDetails> getAccountValidationDetails()
public Long getCreatedTime()
public Long getModifiedTime()
protected GenericClient getGenericClient()
getGenericClient
in class GenericParcelable
public JSONObject getJSONObject()
getJSONObject
in interface JSONifiable
public boolean isNotNullId()
public boolean isNotNullTokenMetaId()
public boolean isNotNullFdAccountId()
public boolean isNotNullFdCustomerId()
public boolean isNotNullAccountLast4()
public boolean isNotNullRoutingLast4()
public boolean isNotNullBankName()
public boolean isNotNullCorporateAccountFlag()
public boolean isNotNullAccountStatus()
public boolean isNotNullAccountStatusDesc()
public boolean isNotNullTransactionStatus()
public boolean isNotNullTransactionStatusCode()
public boolean isNotNullTransactionStatusDesc()
public boolean isNotNullReferenceTransactionId()
public boolean isNotNullAccountValidationDetails()
public boolean isNotEmptyAccountValidationDetails()
public boolean isNotNullCreatedTime()
public boolean isNotNullModifiedTime()
public boolean hasId()
public boolean hasTokenMetaId()
public boolean hasFdAccountId()
public boolean hasFdCustomerId()
public boolean hasAccountLast4()
public boolean hasRoutingLast4()
public boolean hasBankName()
public boolean hasCorporateAccountFlag()
public boolean hasAccountStatus()
public boolean hasAccountStatusDesc()
public boolean hasTransactionStatus()
public boolean hasTransactionStatusCode()
public boolean hasTransactionStatusDesc()
public boolean hasReferenceTransactionId()
public boolean hasAccountValidationDetails()
public boolean hasCreatedTime()
public boolean hasModifiedTime()
public Ach setCorporateAccountFlag(CorporateAccountFlag corporate_account_flag)
public Ach setAccountStatus(String account_status)
public Ach setAccountStatusDesc(String account_status_desc)
public Ach setTransactionStatus(String transaction_status)
public Ach setTransactionStatusCode(Long transaction_status_code)
public Ach setTransactionStatusDesc(String transaction_status_desc)
public Ach setReferenceTransactionId(String reference_transaction_id)
public Ach setAccountValidationDetails(List<ValidationDetails> account_validation_details)
public void clearId()
public void clearTokenMetaId()
public void clearFdAccountId()
public void clearFdCustomerId()
public void clearAccountLast4()
public void clearRoutingLast4()
public void clearBankName()
public void clearCorporateAccountFlag()
public void clearAccountStatus()
public void clearAccountStatusDesc()
public void clearTransactionStatus()
public void clearTransactionStatusCode()
public void clearTransactionStatusDesc()
public void clearReferenceTransactionId()
public void clearAccountValidationDetails()
public void clearCreatedTime()
public void clearModifiedTime()
public boolean containsChanges()
public void resetChangeLog()
public Ach copyChanges()
public void mergeChanges(Ach src)