public class CashAdvanceCustomerIdentification extends GenericParcelable implements Validator, JSONifiable
Modifier and Type | Class and Description |
---|---|
static interface |
CashAdvanceCustomerIdentification.Constraints |
JSONifiable.Creator<T>
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<CashAdvanceCustomerIdentification> |
CREATOR |
static JSONifiable.Creator<CashAdvanceCustomerIdentification> |
JSON_CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier | Constructor and 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(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(String json)
Constructs a new instance from the given JSON String.
|
Modifier and Type | Method and Description |
---|---|
void |
clearAddressCity()
Clears the 'addressCity' field, the 'has' method for this field will now return false
|
void |
clearAddressCountry()
Clears the 'addressCountry' field, the 'has' method for this field will now return false
|
void |
clearAddressState()
Clears the 'addressState' field, the 'has' method for this field will now return false
|
void |
clearAddressStreet1()
Clears the 'addressStreet1' field, the 'has' method for this field will now return false
|
void |
clearAddressStreet2()
Clears the 'addressStreet2' field, the 'has' method for this field will now return false
|
void |
clearAddressZipCode()
Clears the 'addressZipCode' field, the 'has' method for this field will now return false
|
void |
clearCustomerName()
Clears the 'customerName' field, the 'has' method for this field will now return false
|
void |
clearEncryptedSerialNumber()
Clears the 'encryptedSerialNumber' field, the 'has' method for this field will now return false
|
void |
clearExpirationDate()
Clears the 'expirationDate' field, the 'has' method for this field will now return false
|
void |
clearIdType()
Clears the 'idType' field, the 'has' method for this field will now return false
|
void |
clearIssuingCountry()
Clears the 'issuingCountry' field, the 'has' method for this field will now return false
|
void |
clearIssuingState()
Clears the 'issuingState' field, the 'has' method for this field will now return false
|
void |
clearMaskedSerialNumber()
Clears the 'maskedSerialNumber' field, the 'has' method for this field will now return false
|
void |
clearSerialNumber()
Clears the 'serialNumber' field, the 'has' method for this field will now return false
|
void |
clearTellerID()
Clears the 'tellerID' field, the 'has' method for this field will now return false
|
boolean |
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 name
|
String |
getEncryptedSerialNumber()
Encrypted identification serial number
|
String |
getExpirationDate()
Expiration date in format MMDDYYYY
|
protected GenericClient |
getGenericClient() |
IdType |
getIdType() |
String |
getIssuingCountry()
Country in which identification was issued
|
String |
getIssuingState()
State in which identification was issued
|
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.
|
String |
getMaskedSerialNumber()
Masked identification serial number
|
String |
getSerialNumber()
Identification serial number
|
Integer |
getTellerID()
Employee id
|
boolean |
hasAddressCity()
Checks whether the 'addressCity' field has been set, however the value could be null
|
boolean |
hasAddressCountry()
Checks whether the 'addressCountry' field has been set, however the value could be null
|
boolean |
hasAddressState()
Checks whether the 'addressState' field has been set, however the value could be null
|
boolean |
hasAddressStreet1()
Checks whether the 'addressStreet1' field has been set, however the value could be null
|
boolean |
hasAddressStreet2()
Checks whether the 'addressStreet2' field has been set, however the value could be null
|
boolean |
hasAddressZipCode()
Checks whether the 'addressZipCode' field has been set, however the value could be null
|
boolean |
hasCustomerName()
Checks whether the 'customerName' field has been set, however the value could be null
|
boolean |
hasEncryptedSerialNumber()
Checks whether the 'encryptedSerialNumber' field has been set, however the value could be null
|
boolean |
hasExpirationDate()
Checks whether the 'expirationDate' field has been set, however the value could be null
|
boolean |
hasIdType()
Checks whether the 'idType' field has been set, however the value could be null
|
boolean |
hasIssuingCountry()
Checks whether the 'issuingCountry' field has been set, however the value could be null
|
boolean |
hasIssuingState()
Checks whether the 'issuingState' field has been set, however the value could be null
|
boolean |
hasMaskedSerialNumber()
Checks whether the 'maskedSerialNumber' field has been set, however the value could be null
|
boolean |
hasSerialNumber()
Checks whether the 'serialNumber' field has been set, however the value could be null
|
boolean |
hasTellerID()
Checks whether the 'tellerID' field has been set, however the value could be null
|
boolean |
isNotNullAddressCity()
Checks whether the 'addressCity' field is set and is not null
|
boolean |
isNotNullAddressCountry()
Checks whether the 'addressCountry' field is set and is not null
|
boolean |
isNotNullAddressState()
Checks whether the 'addressState' field is set and is not null
|
boolean |
isNotNullAddressStreet1()
Checks whether the 'addressStreet1' field is set and is not null
|
boolean |
isNotNullAddressStreet2()
Checks whether the 'addressStreet2' field is set and is not null
|
boolean |
isNotNullAddressZipCode()
Checks whether the 'addressZipCode' field is set and is not null
|
boolean |
isNotNullCustomerName()
Checks whether the 'customerName' field is set and is not null
|
boolean |
isNotNullEncryptedSerialNumber()
Checks whether the 'encryptedSerialNumber' field is set and is not null
|
boolean |
isNotNullExpirationDate()
Checks whether the 'expirationDate' field is set and is not null
|
boolean |
isNotNullIdType()
Checks whether the 'idType' field is set and is not null
|
boolean |
isNotNullIssuingCountry()
Checks whether the 'issuingCountry' field is set and is not null
|
boolean |
isNotNullIssuingState()
Checks whether the 'issuingState' field is set and is not null
|
boolean |
isNotNullMaskedSerialNumber()
Checks whether the 'maskedSerialNumber' field is set and is not null
|
boolean |
isNotNullSerialNumber()
Checks whether the 'serialNumber' field is set and is not null
|
boolean |
isNotNullTellerID()
Checks whether the 'tellerID' field is set and is not null
|
void |
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() |
describeContents, getBundle, toString, writeToParcel
public static final Parcelable.Creator<CashAdvanceCustomerIdentification> CREATOR
public static final JSONifiable.Creator<CashAdvanceCustomerIdentification> JSON_CREATOR
public CashAdvanceCustomerIdentification()
protected CashAdvanceCustomerIdentification(boolean noInit)
public CashAdvanceCustomerIdentification(String json) throws IllegalArgumentException
IllegalArgumentException
public CashAdvanceCustomerIdentification(JSONObject jsonObject)
public CashAdvanceCustomerIdentification(CashAdvanceCustomerIdentification src)
public IdType getIdType()
public String getSerialNumber()
public String getMaskedSerialNumber()
public String getEncryptedSerialNumber()
public String getExpirationDate()
public String getIssuingState()
public String getIssuingCountry()
public String getCustomerName()
public String getAddressStreet1()
public String getAddressStreet2()
public String getAddressCity()
public String getAddressState()
public String getAddressZipCode()
public String getAddressCountry()
public Integer getTellerID()
protected GenericClient getGenericClient()
getGenericClient
in class GenericParcelable
public JSONObject getJSONObject()
getJSONObject
in interface JSONifiable
public boolean isNotNullIdType()
public boolean isNotNullSerialNumber()
public boolean isNotNullMaskedSerialNumber()
public boolean isNotNullEncryptedSerialNumber()
public boolean isNotNullExpirationDate()
public boolean isNotNullIssuingState()
public boolean isNotNullIssuingCountry()
public boolean isNotNullCustomerName()
public boolean isNotNullAddressStreet1()
public boolean isNotNullAddressStreet2()
public boolean isNotNullAddressCity()
public boolean isNotNullAddressState()
public boolean isNotNullAddressZipCode()
public boolean isNotNullAddressCountry()
public boolean isNotNullTellerID()
public boolean hasIdType()
public boolean hasSerialNumber()
public boolean hasMaskedSerialNumber()
public boolean hasEncryptedSerialNumber()
public boolean hasExpirationDate()
public boolean hasIssuingState()
public boolean hasIssuingCountry()
public boolean hasCustomerName()
public boolean hasAddressStreet1()
public boolean hasAddressStreet2()
public boolean hasAddressCity()
public boolean hasAddressState()
public boolean hasAddressZipCode()
public boolean hasAddressCountry()
public boolean hasTellerID()
public CashAdvanceCustomerIdentification setIdType(IdType idType)
public CashAdvanceCustomerIdentification setSerialNumber(String serialNumber)
public CashAdvanceCustomerIdentification setMaskedSerialNumber(String maskedSerialNumber)
public CashAdvanceCustomerIdentification setEncryptedSerialNumber(String encryptedSerialNumber)
public CashAdvanceCustomerIdentification setExpirationDate(String expirationDate)
public CashAdvanceCustomerIdentification setIssuingState(String issuingState)
public CashAdvanceCustomerIdentification setIssuingCountry(String issuingCountry)
public CashAdvanceCustomerIdentification setCustomerName(String customerName)
public CashAdvanceCustomerIdentification setAddressStreet1(String addressStreet1)
public CashAdvanceCustomerIdentification setAddressStreet2(String addressStreet2)
public CashAdvanceCustomerIdentification setAddressCity(String addressCity)
public CashAdvanceCustomerIdentification setAddressState(String addressState)
public CashAdvanceCustomerIdentification setAddressZipCode(String addressZipCode)
public CashAdvanceCustomerIdentification setAddressCountry(String addressCountry)
public CashAdvanceCustomerIdentification setTellerID(Integer tellerID)
public void clearIdType()
public void clearSerialNumber()
public void clearMaskedSerialNumber()
public void clearEncryptedSerialNumber()
public void clearExpirationDate()
public void clearIssuingState()
public void clearIssuingCountry()
public void clearCustomerName()
public void clearAddressStreet1()
public void clearAddressStreet2()
public void clearAddressCity()
public void clearAddressState()
public void clearAddressZipCode()
public void clearAddressCountry()
public void clearTellerID()
public boolean containsChanges()
public void resetChangeLog()
public CashAdvanceCustomerIdentification copyChanges()
public void mergeChanges(CashAdvanceCustomerIdentification src)