Package com.clover.sdk.v3.payments
Class CashAdvanceCustomerIdentification
- java.lang.Object
-
- com.clover.sdk.GenericParcelable
-
- com.clover.sdk.v3.payments.CashAdvanceCustomerIdentification
-
- All Implemented Interfaces:
Parcelable
,JSONifiable
,Validator
public class CashAdvanceCustomerIdentification 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
CashAdvanceCustomerIdentification.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<CashAdvanceCustomerIdentification>
CREATOR
static JSONifiable.Creator<CashAdvanceCustomerIdentification>
JSON_CREATOR
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Modifier Constructor Description CashAdvanceCustomerIdentification()
Constructs a new empty instance.protected
CashAdvanceCustomerIdentification(boolean noInit)
Constructs a new empty instance.CashAdvanceCustomerIdentification(CashAdvanceCustomerIdentification src)
Constructs a new instance that is a deep copy of the source instance.CashAdvanceCustomerIdentification(String json)
Constructs a new instance from the given JSON String.CashAdvanceCustomerIdentification(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
clearAddressCity()
Clears the 'addressCity' field, the 'has' method for this field will now return falsevoid
clearAddressCountry()
Clears the 'addressCountry' field, the 'has' method for this field will now return falsevoid
clearAddressState()
Clears the 'addressState' field, the 'has' method for this field will now return falsevoid
clearAddressStreet1()
Clears the 'addressStreet1' field, the 'has' method for this field will now return falsevoid
clearAddressStreet2()
Clears the 'addressStreet2' field, the 'has' method for this field will now return falsevoid
clearAddressZipCode()
Clears the 'addressZipCode' field, the 'has' method for this field will now return falsevoid
clearCustomerName()
Clears the 'customerName' field, the 'has' method for this field will now return falsevoid
clearEncryptedSerialNumber()
Clears the 'encryptedSerialNumber' field, the 'has' method for this field will now return falsevoid
clearExpirationDate()
Clears the 'expirationDate' field, the 'has' method for this field will now return falsevoid
clearIdType()
Clears the 'idType' field, the 'has' method for this field will now return falsevoid
clearIssuingCountry()
Clears the 'issuingCountry' field, the 'has' method for this field will now return falsevoid
clearIssuingState()
Clears the 'issuingState' field, the 'has' method for this field will now return falsevoid
clearMaskedSerialNumber()
Clears the 'maskedSerialNumber' field, the 'has' method for this field will now return falsevoid
clearSerialNumber()
Clears the 'serialNumber' field, the 'has' method for this field will now return falsevoid
clearTellerID()
Clears the 'tellerID' field, the 'has' method for this field will now return falseboolean
containsChanges()
Returns true if this instance has any changes.CashAdvanceCustomerIdentification
copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.String
getAddressCity()
String
getAddressCountry()
String
getAddressState()
String
getAddressStreet1()
String
getAddressStreet2()
String
getAddressZipCode()
String
getCustomerName()
Full customer nameString
getEncryptedSerialNumber()
Encrypted identification serial numberString
getExpirationDate()
Expiration date in format MMDDYYYYprotected GenericClient
getGenericClient()
IdType
getIdType()
String
getIssuingCountry()
Country in which identification was issuedString
getIssuingState()
State in which identification was issuedJSONObject
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.String
getMaskedSerialNumber()
Masked identification serial numberString
getSerialNumber()
Identification serial numberInteger
getTellerID()
Employee idboolean
hasAddressCity()
Checks whether the 'addressCity' field has been set, however the value could be nullboolean
hasAddressCountry()
Checks whether the 'addressCountry' field has been set, however the value could be nullboolean
hasAddressState()
Checks whether the 'addressState' field has been set, however the value could be nullboolean
hasAddressStreet1()
Checks whether the 'addressStreet1' field has been set, however the value could be nullboolean
hasAddressStreet2()
Checks whether the 'addressStreet2' field has been set, however the value could be nullboolean
hasAddressZipCode()
Checks whether the 'addressZipCode' field has been set, however the value could be nullboolean
hasCustomerName()
Checks whether the 'customerName' field has been set, however the value could be nullboolean
hasEncryptedSerialNumber()
Checks whether the 'encryptedSerialNumber' field has been set, however the value could be nullboolean
hasExpirationDate()
Checks whether the 'expirationDate' field has been set, however the value could be nullboolean
hasIdType()
Checks whether the 'idType' field has been set, however the value could be nullboolean
hasIssuingCountry()
Checks whether the 'issuingCountry' field has been set, however the value could be nullboolean
hasIssuingState()
Checks whether the 'issuingState' field has been set, however the value could be nullboolean
hasMaskedSerialNumber()
Checks whether the 'maskedSerialNumber' field has been set, however the value could be nullboolean
hasSerialNumber()
Checks whether the 'serialNumber' field has been set, however the value could be nullboolean
hasTellerID()
Checks whether the 'tellerID' field has been set, however the value could be nullboolean
isNotNullAddressCity()
Checks whether the 'addressCity' field is set and is not nullboolean
isNotNullAddressCountry()
Checks whether the 'addressCountry' field is set and is not nullboolean
isNotNullAddressState()
Checks whether the 'addressState' field is set and is not nullboolean
isNotNullAddressStreet1()
Checks whether the 'addressStreet1' field is set and is not nullboolean
isNotNullAddressStreet2()
Checks whether the 'addressStreet2' field is set and is not nullboolean
isNotNullAddressZipCode()
Checks whether the 'addressZipCode' field is set and is not nullboolean
isNotNullCustomerName()
Checks whether the 'customerName' field is set and is not nullboolean
isNotNullEncryptedSerialNumber()
Checks whether the 'encryptedSerialNumber' field is set and is not nullboolean
isNotNullExpirationDate()
Checks whether the 'expirationDate' field is set and is not nullboolean
isNotNullIdType()
Checks whether the 'idType' field is set and is not nullboolean
isNotNullIssuingCountry()
Checks whether the 'issuingCountry' field is set and is not nullboolean
isNotNullIssuingState()
Checks whether the 'issuingState' field is set and is not nullboolean
isNotNullMaskedSerialNumber()
Checks whether the 'maskedSerialNumber' field is set and is not nullboolean
isNotNullSerialNumber()
Checks whether the 'serialNumber' field is set and is not nullboolean
isNotNullTellerID()
Checks whether the 'tellerID' field is set and is not nullvoid
mergeChanges(CashAdvanceCustomerIdentification 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.CashAdvanceCustomerIdentification
setAddressCity(String addressCity)
Sets the field 'addressCity'.CashAdvanceCustomerIdentification
setAddressCountry(String addressCountry)
Sets the field 'addressCountry'.CashAdvanceCustomerIdentification
setAddressState(String addressState)
Sets the field 'addressState'.CashAdvanceCustomerIdentification
setAddressStreet1(String addressStreet1)
Sets the field 'addressStreet1'.CashAdvanceCustomerIdentification
setAddressStreet2(String addressStreet2)
Sets the field 'addressStreet2'.CashAdvanceCustomerIdentification
setAddressZipCode(String addressZipCode)
Sets the field 'addressZipCode'.CashAdvanceCustomerIdentification
setCustomerName(String customerName)
Sets the field 'customerName'.CashAdvanceCustomerIdentification
setEncryptedSerialNumber(String encryptedSerialNumber)
Sets the field 'encryptedSerialNumber'.CashAdvanceCustomerIdentification
setExpirationDate(String expirationDate)
Sets the field 'expirationDate'.CashAdvanceCustomerIdentification
setIdType(IdType idType)
Sets the field 'idType'.CashAdvanceCustomerIdentification
setIssuingCountry(String issuingCountry)
Sets the field 'issuingCountry'.CashAdvanceCustomerIdentification
setIssuingState(String issuingState)
Sets the field 'issuingState'.CashAdvanceCustomerIdentification
setMaskedSerialNumber(String maskedSerialNumber)
Sets the field 'maskedSerialNumber'.CashAdvanceCustomerIdentification
setSerialNumber(String serialNumber)
Sets the field 'serialNumber'.CashAdvanceCustomerIdentification
setTellerID(Integer tellerID)
Sets the field 'tellerID'.void
validate()
-
Methods inherited from class com.clover.sdk.GenericParcelable
describeContents, getBundle, toString, writeToParcel
-
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<CashAdvanceCustomerIdentification> CREATOR
-
JSON_CREATOR
public static final JSONifiable.Creator<CashAdvanceCustomerIdentification> JSON_CREATOR
-
-
Constructor Detail
-
CashAdvanceCustomerIdentification
public CashAdvanceCustomerIdentification()
Constructs a new empty instance.
-
CashAdvanceCustomerIdentification
protected CashAdvanceCustomerIdentification(boolean noInit)
Constructs a new empty instance.
-
CashAdvanceCustomerIdentification
public CashAdvanceCustomerIdentification(String json) throws IllegalArgumentException
Constructs a new instance from the given JSON String.- Throws:
IllegalArgumentException
-
CashAdvanceCustomerIdentification
public CashAdvanceCustomerIdentification(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.
-
CashAdvanceCustomerIdentification
public CashAdvanceCustomerIdentification(CashAdvanceCustomerIdentification src)
Constructs a new instance that is a deep copy of the source instance. It does not copy the bundle or changelog.
-
-
Method Detail
-
getIdType
public IdType getIdType()
-
getSerialNumber
public String getSerialNumber()
Identification serial number
-
getMaskedSerialNumber
public String getMaskedSerialNumber()
Masked identification serial number
-
getEncryptedSerialNumber
public String getEncryptedSerialNumber()
Encrypted identification serial number
-
getExpirationDate
public String getExpirationDate()
Expiration date in format MMDDYYYY
-
getIssuingState
public String getIssuingState()
State in which identification was issued
-
getIssuingCountry
public String getIssuingCountry()
Country in which identification was issued
-
getCustomerName
public String getCustomerName()
Full customer name
-
getAddressStreet1
public String getAddressStreet1()
-
getAddressStreet2
public String getAddressStreet2()
-
getAddressCity
public String getAddressCity()
-
getAddressState
public String getAddressState()
-
getAddressZipCode
public String getAddressZipCode()
-
getAddressCountry
public String getAddressCountry()
-
getTellerID
public Integer getTellerID()
Employee id
-
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
-
isNotNullIdType
public boolean isNotNullIdType()
Checks whether the 'idType' field is set and is not null
-
isNotNullSerialNumber
public boolean isNotNullSerialNumber()
Checks whether the 'serialNumber' field is set and is not null
-
isNotNullMaskedSerialNumber
public boolean isNotNullMaskedSerialNumber()
Checks whether the 'maskedSerialNumber' field is set and is not null
-
isNotNullEncryptedSerialNumber
public boolean isNotNullEncryptedSerialNumber()
Checks whether the 'encryptedSerialNumber' field is set and is not null
-
isNotNullExpirationDate
public boolean isNotNullExpirationDate()
Checks whether the 'expirationDate' field is set and is not null
-
isNotNullIssuingState
public boolean isNotNullIssuingState()
Checks whether the 'issuingState' field is set and is not null
-
isNotNullIssuingCountry
public boolean isNotNullIssuingCountry()
Checks whether the 'issuingCountry' field is set and is not null
-
isNotNullCustomerName
public boolean isNotNullCustomerName()
Checks whether the 'customerName' field is set and is not null
-
isNotNullAddressStreet1
public boolean isNotNullAddressStreet1()
Checks whether the 'addressStreet1' field is set and is not null
-
isNotNullAddressStreet2
public boolean isNotNullAddressStreet2()
Checks whether the 'addressStreet2' field is set and is not null
-
isNotNullAddressCity
public boolean isNotNullAddressCity()
Checks whether the 'addressCity' field is set and is not null
-
isNotNullAddressState
public boolean isNotNullAddressState()
Checks whether the 'addressState' field is set and is not null
-
isNotNullAddressZipCode
public boolean isNotNullAddressZipCode()
Checks whether the 'addressZipCode' field is set and is not null
-
isNotNullAddressCountry
public boolean isNotNullAddressCountry()
Checks whether the 'addressCountry' field is set and is not null
-
isNotNullTellerID
public boolean isNotNullTellerID()
Checks whether the 'tellerID' field is set and is not null
-
hasIdType
public boolean hasIdType()
Checks whether the 'idType' field has been set, however the value could be null
-
hasSerialNumber
public boolean hasSerialNumber()
Checks whether the 'serialNumber' field has been set, however the value could be null
-
hasMaskedSerialNumber
public boolean hasMaskedSerialNumber()
Checks whether the 'maskedSerialNumber' field has been set, however the value could be null
-
hasEncryptedSerialNumber
public boolean hasEncryptedSerialNumber()
Checks whether the 'encryptedSerialNumber' field has been set, however the value could be null
-
hasExpirationDate
public boolean hasExpirationDate()
Checks whether the 'expirationDate' field has been set, however the value could be null
-
hasIssuingState
public boolean hasIssuingState()
Checks whether the 'issuingState' field has been set, however the value could be null
-
hasIssuingCountry
public boolean hasIssuingCountry()
Checks whether the 'issuingCountry' field has been set, however the value could be null
-
hasCustomerName
public boolean hasCustomerName()
Checks whether the 'customerName' field has been set, however the value could be null
-
hasAddressStreet1
public boolean hasAddressStreet1()
Checks whether the 'addressStreet1' field has been set, however the value could be null
-
hasAddressStreet2
public boolean hasAddressStreet2()
Checks whether the 'addressStreet2' field has been set, however the value could be null
-
hasAddressCity
public boolean hasAddressCity()
Checks whether the 'addressCity' field has been set, however the value could be null
-
hasAddressState
public boolean hasAddressState()
Checks whether the 'addressState' field has been set, however the value could be null
-
hasAddressZipCode
public boolean hasAddressZipCode()
Checks whether the 'addressZipCode' field has been set, however the value could be null
-
hasAddressCountry
public boolean hasAddressCountry()
Checks whether the 'addressCountry' field has been set, however the value could be null
-
hasTellerID
public boolean hasTellerID()
Checks whether the 'tellerID' field has been set, however the value could be null
-
setIdType
public CashAdvanceCustomerIdentification setIdType(IdType idType)
Sets the field 'idType'.
-
setSerialNumber
public CashAdvanceCustomerIdentification setSerialNumber(String serialNumber)
Sets the field 'serialNumber'.
-
setMaskedSerialNumber
public CashAdvanceCustomerIdentification setMaskedSerialNumber(String maskedSerialNumber)
Sets the field 'maskedSerialNumber'.
-
setEncryptedSerialNumber
public CashAdvanceCustomerIdentification setEncryptedSerialNumber(String encryptedSerialNumber)
Sets the field 'encryptedSerialNumber'.
-
setExpirationDate
public CashAdvanceCustomerIdentification setExpirationDate(String expirationDate)
Sets the field 'expirationDate'.
-
setIssuingState
public CashAdvanceCustomerIdentification setIssuingState(String issuingState)
Sets the field 'issuingState'.
-
setIssuingCountry
public CashAdvanceCustomerIdentification setIssuingCountry(String issuingCountry)
Sets the field 'issuingCountry'.
-
setCustomerName
public CashAdvanceCustomerIdentification setCustomerName(String customerName)
Sets the field 'customerName'.
-
setAddressStreet1
public CashAdvanceCustomerIdentification setAddressStreet1(String addressStreet1)
Sets the field 'addressStreet1'.
-
setAddressStreet2
public CashAdvanceCustomerIdentification setAddressStreet2(String addressStreet2)
Sets the field 'addressStreet2'.
-
setAddressCity
public CashAdvanceCustomerIdentification setAddressCity(String addressCity)
Sets the field 'addressCity'.
-
setAddressState
public CashAdvanceCustomerIdentification setAddressState(String addressState)
Sets the field 'addressState'.
-
setAddressZipCode
public CashAdvanceCustomerIdentification setAddressZipCode(String addressZipCode)
Sets the field 'addressZipCode'.
-
setAddressCountry
public CashAdvanceCustomerIdentification setAddressCountry(String addressCountry)
Sets the field 'addressCountry'.
-
setTellerID
public CashAdvanceCustomerIdentification setTellerID(Integer tellerID)
Sets the field 'tellerID'.
-
clearIdType
public void clearIdType()
Clears the 'idType' field, the 'has' method for this field will now return false
-
clearSerialNumber
public void clearSerialNumber()
Clears the 'serialNumber' field, the 'has' method for this field will now return false
-
clearMaskedSerialNumber
public void clearMaskedSerialNumber()
Clears the 'maskedSerialNumber' field, the 'has' method for this field will now return false
-
clearEncryptedSerialNumber
public void clearEncryptedSerialNumber()
Clears the 'encryptedSerialNumber' field, the 'has' method for this field will now return false
-
clearExpirationDate
public void clearExpirationDate()
Clears the 'expirationDate' field, the 'has' method for this field will now return false
-
clearIssuingState
public void clearIssuingState()
Clears the 'issuingState' field, the 'has' method for this field will now return false
-
clearIssuingCountry
public void clearIssuingCountry()
Clears the 'issuingCountry' field, the 'has' method for this field will now return false
-
clearCustomerName
public void clearCustomerName()
Clears the 'customerName' field, the 'has' method for this field will now return false
-
clearAddressStreet1
public void clearAddressStreet1()
Clears the 'addressStreet1' field, the 'has' method for this field will now return false
-
clearAddressStreet2
public void clearAddressStreet2()
Clears the 'addressStreet2' field, the 'has' method for this field will now return false
-
clearAddressCity
public void clearAddressCity()
Clears the 'addressCity' field, the 'has' method for this field will now return false
-
clearAddressState
public void clearAddressState()
Clears the 'addressState' field, the 'has' method for this field will now return false
-
clearAddressZipCode
public void clearAddressZipCode()
Clears the 'addressZipCode' field, the 'has' method for this field will now return false
-
clearAddressCountry
public void clearAddressCountry()
Clears the 'addressCountry' field, the 'has' method for this field will now return false
-
clearTellerID
public void clearTellerID()
Clears the 'tellerID' 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 CashAdvanceCustomerIdentification copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.
-
mergeChanges
public void mergeChanges(CashAdvanceCustomerIdentification src)
Copy all the changed fields from the given source to this instance.
-
-