Package com.clover.sdk.v3.tokens
Class Ach
- java.lang.Object
-
- com.clover.sdk.GenericParcelable
-
- com.clover.sdk.v3.tokens.Ach
-
- All Implemented Interfaces:
Parcelable
,JSONifiable
,Validator
public class Ach extends GenericParcelable implements Validator, JSONifiable
This is an auto-generated Clover data object.Fields
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Ach.Constraints
-
Nested classes/interfaces inherited from interface com.clover.sdk.JSONifiable
JSONifiable.Creator<T>
-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static Parcelable.Creator<Ach>
CREATOR
static JSONifiable.Creator<Ach>
JSON_CREATOR
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Modifier Constructor Description Ach()
Constructs a new empty instance.protected
Ach(boolean noInit)
Constructs a new empty instance.Ach(Ach src)
Constructs a new instance that is a deep copy of the source instance.Ach(String json)
Constructs a new instance from the given JSON String.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearAccountLast4()
Clears the 'account_last4' field, the 'has' method for this field will now return falsevoid
clearAccountStatus()
Clears the 'account_status' field, the 'has' method for this field will now return falsevoid
clearAccountStatusDesc()
Clears the 'account_status_desc' field, the 'has' method for this field will now return falsevoid
clearAccountValidationDetails()
Clears the 'account_validation_details' field, the 'has' method for this field will now return falsevoid
clearBankName()
Clears the 'bank_name' field, the 'has' method for this field will now return falsevoid
clearCorporateAccountFlag()
Clears the 'corporate_account_flag' field, the 'has' method for this field will now return falsevoid
clearCreatedTime()
Clears the 'created_time' field, the 'has' method for this field will now return falsevoid
clearFdAccountId()
Clears the 'fd_account_id' field, the 'has' method for this field will now return falsevoid
clearFdCustomerId()
Clears the 'fd_customer_id' field, the 'has' method for this field will now return falsevoid
clearId()
Clears the 'id' field, the 'has' method for this field will now return falsevoid
clearModifiedTime()
Clears the 'modified_time' field, the 'has' method for this field will now return falsevoid
clearReferenceTransactionId()
Clears the 'reference_transaction_id' field, the 'has' method for this field will now return falsevoid
clearRoutingLast4()
Clears the 'routing_last4' field, the 'has' method for this field will now return falsevoid
clearTokenMetaId()
Clears the 'token_meta_id' field, the 'has' method for this field will now return falsevoid
clearTransactionStatus()
Clears the 'transaction_status' field, the 'has' method for this field will now return falsevoid
clearTransactionStatusCode()
Clears the 'transaction_status_code' field, the 'has' method for this field will now return falsevoid
clearTransactionStatusDesc()
Clears the 'transaction_status_desc' field, the 'has' method for this field will now return falseboolean
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 accountString
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 detailsString
getBankName()
Name of the bankCorporateAccountFlag
getCorporateAccountFlag()
Corporate account flagLong
getCreatedTime()
String
getFdAccountId()
first data ach account numberString
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 routingLong
getTokenMetaId()
token meta id in the dbString
getTransactionStatus()
Overall status of the call.Long
getTransactionStatusCode()
Unique code signifying detailed transaction statusString
getTransactionStatusDesc()
Short description of the above code.boolean
hasAccountLast4()
Checks whether the 'account_last4' field has been set, however the value could be nullboolean
hasAccountStatus()
Checks whether the 'account_status' field has been set, however the value could be nullboolean
hasAccountStatusDesc()
Checks whether the 'account_status_desc' field has been set, however the value could be nullboolean
hasAccountValidationDetails()
Checks whether the 'account_validation_details' field has been set, however the value could be nullboolean
hasBankName()
Checks whether the 'bank_name' field has been set, however the value could be nullboolean
hasCorporateAccountFlag()
Checks whether the 'corporate_account_flag' field has been set, however the value could be nullboolean
hasCreatedTime()
Checks whether the 'created_time' field has been set, however the value could be nullboolean
hasFdAccountId()
Checks whether the 'fd_account_id' field has been set, however the value could be nullboolean
hasFdCustomerId()
Checks whether the 'fd_customer_id' field has been set, however the value could be nullboolean
hasId()
Checks whether the 'id' field has been set, however the value could be nullboolean
hasModifiedTime()
Checks whether the 'modified_time' field has been set, however the value could be nullboolean
hasReferenceTransactionId()
Checks whether the 'reference_transaction_id' field has been set, however the value could be nullboolean
hasRoutingLast4()
Checks whether the 'routing_last4' field has been set, however the value could be nullboolean
hasTokenMetaId()
Checks whether the 'token_meta_id' field has been set, however the value could be nullboolean
hasTransactionStatus()
Checks whether the 'transaction_status' field has been set, however the value could be nullboolean
hasTransactionStatusCode()
Checks whether the 'transaction_status_code' field has been set, however the value could be nullboolean
hasTransactionStatusDesc()
Checks whether the 'transaction_status_desc' field has been set, however the value could be nullboolean
isNotEmptyAccountValidationDetails()
Checks whether the 'account_validation_details' field is set and is not null and is not emptyboolean
isNotNullAccountLast4()
Checks whether the 'account_last4' field is set and is not nullboolean
isNotNullAccountStatus()
Checks whether the 'account_status' field is set and is not nullboolean
isNotNullAccountStatusDesc()
Checks whether the 'account_status_desc' field is set and is not nullboolean
isNotNullAccountValidationDetails()
Checks whether the 'account_validation_details' field is set and is not nullboolean
isNotNullBankName()
Checks whether the 'bank_name' field is set and is not nullboolean
isNotNullCorporateAccountFlag()
Checks whether the 'corporate_account_flag' field is set and is not nullboolean
isNotNullCreatedTime()
Checks whether the 'created_time' field is set and is not nullboolean
isNotNullFdAccountId()
Checks whether the 'fd_account_id' field is set and is not nullboolean
isNotNullFdCustomerId()
Checks whether the 'fd_customer_id' field is set and is not nullboolean
isNotNullId()
Checks whether the 'id' field is set and is not nullboolean
isNotNullModifiedTime()
Checks whether the 'modified_time' field is set and is not nullboolean
isNotNullReferenceTransactionId()
Checks whether the 'reference_transaction_id' field is set and is not nullboolean
isNotNullRoutingLast4()
Checks whether the 'routing_last4' field is set and is not nullboolean
isNotNullTokenMetaId()
Checks whether the 'token_meta_id' field is set and is not nullboolean
isNotNullTransactionStatus()
Checks whether the 'transaction_status' field is set and is not nullboolean
isNotNullTransactionStatusCode()
Checks whether the 'transaction_status_code' field is set and is not nullboolean
isNotNullTransactionStatusDesc()
Checks whether the 'transaction_status_desc' field is set and is not nullvoid
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()
-
Methods inherited from class com.clover.sdk.GenericParcelable
describeContents, getBundle, toString, writeToParcel
-
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<Ach> CREATOR
-
JSON_CREATOR
public static final JSONifiable.Creator<Ach> JSON_CREATOR
-
-
Constructor Detail
-
Ach
public Ach()
Constructs a new empty instance.
-
Ach
protected Ach(boolean noInit)
Constructs a new empty instance.
-
Ach
public Ach(String json) throws IllegalArgumentException
Constructs a new instance from the given JSON String.- Throws:
IllegalArgumentException
-
Ach
public 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
public Ach(Ach src)
Constructs a new instance that is a deep copy of the source instance. It does not copy the bundle or changelog.
-
-
Method Detail
-
getId
public String getId()
Unique identifier for the object.
-
getTokenMetaId
public Long getTokenMetaId()
token meta id in the db
-
getFdAccountId
public String getFdAccountId()
first data ach account number
-
getFdCustomerId
public String getFdCustomerId()
Unique consumer identifier in Fiserv Telecheck.
-
getAccountLast4
public String getAccountLast4()
Last4 of bank account
-
getRoutingLast4
public String getRoutingLast4()
Last4 of bank routing
-
getBankName
public String getBankName()
Name of the bank
-
getCorporateAccountFlag
public CorporateAccountFlag getCorporateAccountFlag()
Corporate account flag
-
getAccountStatus
public String getAccountStatus()
Numeric value which defines the status of ACH account.
-
getAccountStatusDesc
public String getAccountStatusDesc()
Short description which describes the accountStatus.
-
getTransactionStatus
public String getTransactionStatus()
Overall status of the call.
-
getTransactionStatusCode
public Long getTransactionStatusCode()
Unique code signifying detailed transaction status
-
getTransactionStatusDesc
public String getTransactionStatusDesc()
Short description of the above code.
-
getReferenceTransactionId
public String getReferenceTransactionId()
Unique ID for each Transaction which could be used to trace a transaction.
-
getAccountValidationDetails
public List<ValidationDetails> getAccountValidationDetails()
List of connect pay validation details
-
getCreatedTime
public Long getCreatedTime()
-
getModifiedTime
public Long getModifiedTime()
-
getGenericClient
protected GenericClient getGenericClient()
- Specified by:
getGenericClient
in classGenericParcelable
-
getJSONObject
public 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.- Specified by:
getJSONObject
in interfaceJSONifiable
-
isNotNullId
public boolean isNotNullId()
Checks whether the 'id' field is set and is not null
-
isNotNullTokenMetaId
public boolean isNotNullTokenMetaId()
Checks whether the 'token_meta_id' field is set and is not null
-
isNotNullFdAccountId
public boolean isNotNullFdAccountId()
Checks whether the 'fd_account_id' field is set and is not null
-
isNotNullFdCustomerId
public boolean isNotNullFdCustomerId()
Checks whether the 'fd_customer_id' field is set and is not null
-
isNotNullAccountLast4
public boolean isNotNullAccountLast4()
Checks whether the 'account_last4' field is set and is not null
-
isNotNullRoutingLast4
public boolean isNotNullRoutingLast4()
Checks whether the 'routing_last4' field is set and is not null
-
isNotNullBankName
public boolean isNotNullBankName()
Checks whether the 'bank_name' field is set and is not null
-
isNotNullCorporateAccountFlag
public boolean isNotNullCorporateAccountFlag()
Checks whether the 'corporate_account_flag' field is set and is not null
-
isNotNullAccountStatus
public boolean isNotNullAccountStatus()
Checks whether the 'account_status' field is set and is not null
-
isNotNullAccountStatusDesc
public boolean isNotNullAccountStatusDesc()
Checks whether the 'account_status_desc' field is set and is not null
-
isNotNullTransactionStatus
public boolean isNotNullTransactionStatus()
Checks whether the 'transaction_status' field is set and is not null
-
isNotNullTransactionStatusCode
public boolean isNotNullTransactionStatusCode()
Checks whether the 'transaction_status_code' field is set and is not null
-
isNotNullTransactionStatusDesc
public boolean isNotNullTransactionStatusDesc()
Checks whether the 'transaction_status_desc' field is set and is not null
-
isNotNullReferenceTransactionId
public boolean isNotNullReferenceTransactionId()
Checks whether the 'reference_transaction_id' field is set and is not null
-
isNotNullAccountValidationDetails
public boolean isNotNullAccountValidationDetails()
Checks whether the 'account_validation_details' field is set and is not null
-
isNotEmptyAccountValidationDetails
public boolean isNotEmptyAccountValidationDetails()
Checks whether the 'account_validation_details' field is set and is not null and is not empty
-
isNotNullCreatedTime
public boolean isNotNullCreatedTime()
Checks whether the 'created_time' field is set and is not null
-
isNotNullModifiedTime
public boolean isNotNullModifiedTime()
Checks whether the 'modified_time' field is set and is not null
-
hasId
public boolean hasId()
Checks whether the 'id' field has been set, however the value could be null
-
hasTokenMetaId
public boolean hasTokenMetaId()
Checks whether the 'token_meta_id' field has been set, however the value could be null
-
hasFdAccountId
public boolean hasFdAccountId()
Checks whether the 'fd_account_id' field has been set, however the value could be null
-
hasFdCustomerId
public boolean hasFdCustomerId()
Checks whether the 'fd_customer_id' field has been set, however the value could be null
-
hasAccountLast4
public boolean hasAccountLast4()
Checks whether the 'account_last4' field has been set, however the value could be null
-
hasRoutingLast4
public boolean hasRoutingLast4()
Checks whether the 'routing_last4' field has been set, however the value could be null
-
hasBankName
public boolean hasBankName()
Checks whether the 'bank_name' field has been set, however the value could be null
-
hasCorporateAccountFlag
public boolean hasCorporateAccountFlag()
Checks whether the 'corporate_account_flag' field has been set, however the value could be null
-
hasAccountStatus
public boolean hasAccountStatus()
Checks whether the 'account_status' field has been set, however the value could be null
-
hasAccountStatusDesc
public boolean hasAccountStatusDesc()
Checks whether the 'account_status_desc' field has been set, however the value could be null
-
hasTransactionStatus
public boolean hasTransactionStatus()
Checks whether the 'transaction_status' field has been set, however the value could be null
-
hasTransactionStatusCode
public boolean hasTransactionStatusCode()
Checks whether the 'transaction_status_code' field has been set, however the value could be null
-
hasTransactionStatusDesc
public boolean hasTransactionStatusDesc()
Checks whether the 'transaction_status_desc' field has been set, however the value could be null
-
hasReferenceTransactionId
public boolean hasReferenceTransactionId()
Checks whether the 'reference_transaction_id' field has been set, however the value could be null
-
hasAccountValidationDetails
public boolean hasAccountValidationDetails()
Checks whether the 'account_validation_details' field has been set, however the value could be null
-
hasCreatedTime
public boolean hasCreatedTime()
Checks whether the 'created_time' field has been set, however the value could be null
-
hasModifiedTime
public boolean hasModifiedTime()
Checks whether the 'modified_time' field has been set, however the value could be null
-
setCorporateAccountFlag
public Ach setCorporateAccountFlag(CorporateAccountFlag corporate_account_flag)
Sets the field 'corporate_account_flag'.
-
setAccountStatus
public Ach setAccountStatus(String account_status)
Sets the field 'account_status'.
-
setAccountStatusDesc
public Ach setAccountStatusDesc(String account_status_desc)
Sets the field 'account_status_desc'.
-
setTransactionStatus
public Ach setTransactionStatus(String transaction_status)
Sets the field 'transaction_status'.
-
setTransactionStatusCode
public Ach setTransactionStatusCode(Long transaction_status_code)
Sets the field 'transaction_status_code'.
-
setTransactionStatusDesc
public Ach setTransactionStatusDesc(String transaction_status_desc)
Sets the field 'transaction_status_desc'.
-
setReferenceTransactionId
public Ach setReferenceTransactionId(String reference_transaction_id)
Sets the field 'reference_transaction_id'.
-
setAccountValidationDetails
public Ach setAccountValidationDetails(List<ValidationDetails> account_validation_details)
Sets the field 'account_validation_details'. Nulls in the given List are skipped. List parameter is copied, so it will not reflect any changes, but objects inside it will.
-
clearId
public void clearId()
Clears the 'id' field, the 'has' method for this field will now return false
-
clearTokenMetaId
public void clearTokenMetaId()
Clears the 'token_meta_id' field, the 'has' method for this field will now return false
-
clearFdAccountId
public void clearFdAccountId()
Clears the 'fd_account_id' field, the 'has' method for this field will now return false
-
clearFdCustomerId
public void clearFdCustomerId()
Clears the 'fd_customer_id' field, the 'has' method for this field will now return false
-
clearAccountLast4
public void clearAccountLast4()
Clears the 'account_last4' field, the 'has' method for this field will now return false
-
clearRoutingLast4
public void clearRoutingLast4()
Clears the 'routing_last4' field, the 'has' method for this field will now return false
-
clearBankName
public void clearBankName()
Clears the 'bank_name' field, the 'has' method for this field will now return false
-
clearCorporateAccountFlag
public void clearCorporateAccountFlag()
Clears the 'corporate_account_flag' field, the 'has' method for this field will now return false
-
clearAccountStatus
public void clearAccountStatus()
Clears the 'account_status' field, the 'has' method for this field will now return false
-
clearAccountStatusDesc
public void clearAccountStatusDesc()
Clears the 'account_status_desc' field, the 'has' method for this field will now return false
-
clearTransactionStatus
public void clearTransactionStatus()
Clears the 'transaction_status' field, the 'has' method for this field will now return false
-
clearTransactionStatusCode
public void clearTransactionStatusCode()
Clears the 'transaction_status_code' field, the 'has' method for this field will now return false
-
clearTransactionStatusDesc
public void clearTransactionStatusDesc()
Clears the 'transaction_status_desc' field, the 'has' method for this field will now return false
-
clearReferenceTransactionId
public void clearReferenceTransactionId()
Clears the 'reference_transaction_id' field, the 'has' method for this field will now return false
-
clearAccountValidationDetails
public void clearAccountValidationDetails()
Clears the 'account_validation_details' field, the 'has' method for this field will now return false
-
clearCreatedTime
public void clearCreatedTime()
Clears the 'created_time' field, the 'has' method for this field will now return false
-
clearModifiedTime
public void clearModifiedTime()
Clears the 'modified_time' field, the 'has' method for this field will now return false
-
containsChanges
public boolean containsChanges()
Returns true if this instance has any changes.
-
resetChangeLog
public void resetChangeLog()
Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.
-
copyChanges
public Ach copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.
-
mergeChanges
public void mergeChanges(Ach src)
Copy all the changed fields from the given source to this instance.
-
-