public class InfoleaseChargeAttempt extends GenericParcelable implements Validator, JSONifiable
Modifier and Type | Class and Description |
---|---|
static interface |
InfoleaseChargeAttempt.Constraints |
JSONifiable.Creator<T>
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<InfoleaseChargeAttempt> |
CREATOR |
static JSONifiable.Creator<InfoleaseChargeAttempt> |
JSON_CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier | Constructor and Description |
---|---|
|
InfoleaseChargeAttempt()
Constructs a new empty instance.
|
protected |
InfoleaseChargeAttempt(boolean noInit)
Constructs a new empty instance.
|
|
InfoleaseChargeAttempt(InfoleaseChargeAttempt src)
Constructs a new instance that is a deep copy of the source instance.
|
|
InfoleaseChargeAttempt(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.
|
|
InfoleaseChargeAttempt(String json)
Constructs a new instance from the given JSON String.
|
Modifier and Type | Method and Description |
---|---|
void |
clearContractNumber()
Clears the 'contractNumber' 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 |
clearGlCode()
Clears the 'glCode' 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 |
clearInfoleaseKey()
Clears the 'infoleaseKey' 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 |
clearPaymentType()
Clears the 'paymentType' field, the 'has' method for this field will now return false
|
void |
clearPostDate()
Clears the 'postDate' field, the 'has' method for this field will now return false
|
void |
clearStatus()
Clears the 'status' field, the 'has' method for this field will now return false
|
void |
clearTax()
Clears the 'tax' field, the 'has' method for this field will now return false
|
boolean |
containsChanges()
Returns true if this instance has any changes.
|
InfoleaseChargeAttempt |
copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.
|
String |
getContractNumber() |
Long |
getCreatedTime() |
protected GenericClient |
getGenericClient() |
String |
getGlCode() |
String |
getId() |
String |
getInfoleaseKey() |
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 |
getPaymentType() |
String |
getPostDate() |
InfoleaseChargeAttemptStatus |
getStatus() |
Long |
getTax() |
boolean |
hasContractNumber()
Checks whether the 'contractNumber' 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 |
hasGlCode()
Checks whether the 'glCode' 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 |
hasInfoleaseKey()
Checks whether the 'infoleaseKey' 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 |
hasPaymentType()
Checks whether the 'paymentType' field has been set, however the value could be null
|
boolean |
hasPostDate()
Checks whether the 'postDate' field has been set, however the value could be null
|
boolean |
hasStatus()
Checks whether the 'status' field has been set, however the value could be null
|
boolean |
hasTax()
Checks whether the 'tax' field has been set, however the value could be null
|
boolean |
isNotNullContractNumber()
Checks whether the 'contractNumber' field is set and is not null
|
boolean |
isNotNullCreatedTime()
Checks whether the 'createdTime' field is set and is not null
|
boolean |
isNotNullGlCode()
Checks whether the 'glCode' field is set and is not null
|
boolean |
isNotNullId()
Checks whether the 'id' field is set and is not null
|
boolean |
isNotNullInfoleaseKey()
Checks whether the 'infoleaseKey' field is set and is not null
|
boolean |
isNotNullModifiedTime()
Checks whether the 'modifiedTime' field is set and is not null
|
boolean |
isNotNullPaymentType()
Checks whether the 'paymentType' field is set and is not null
|
boolean |
isNotNullPostDate()
Checks whether the 'postDate' field is set and is not null
|
boolean |
isNotNullStatus()
Checks whether the 'status' field is set and is not null
|
boolean |
isNotNullTax()
Checks whether the 'tax' field is set and is not null
|
void |
mergeChanges(InfoleaseChargeAttempt 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.
|
InfoleaseChargeAttempt |
setContractNumber(String contractNumber)
Sets the field 'contractNumber'.
|
InfoleaseChargeAttempt |
setCreatedTime(Long createdTime)
Sets the field 'createdTime'.
|
InfoleaseChargeAttempt |
setGlCode(String glCode)
Sets the field 'glCode'.
|
InfoleaseChargeAttempt |
setId(String id)
Sets the field 'id'.
|
InfoleaseChargeAttempt |
setInfoleaseKey(String infoleaseKey)
Sets the field 'infoleaseKey'.
|
InfoleaseChargeAttempt |
setModifiedTime(Long modifiedTime)
Sets the field 'modifiedTime'.
|
InfoleaseChargeAttempt |
setPaymentType(String paymentType)
Sets the field 'paymentType'.
|
InfoleaseChargeAttempt |
setPostDate(String postDate)
Sets the field 'postDate'.
|
InfoleaseChargeAttempt |
setStatus(InfoleaseChargeAttemptStatus status)
Sets the field 'status'.
|
InfoleaseChargeAttempt |
setTax(Long tax)
Sets the field 'tax'.
|
void |
validate() |
describeContents, getBundle, toString, writeToParcel
public static final Parcelable.Creator<InfoleaseChargeAttempt> CREATOR
public static final JSONifiable.Creator<InfoleaseChargeAttempt> JSON_CREATOR
public InfoleaseChargeAttempt()
protected InfoleaseChargeAttempt(boolean noInit)
public InfoleaseChargeAttempt(String json) throws IllegalArgumentException
IllegalArgumentException
public InfoleaseChargeAttempt(JSONObject jsonObject)
public InfoleaseChargeAttempt(InfoleaseChargeAttempt src)
public String getId()
public InfoleaseChargeAttemptStatus getStatus()
public String getPaymentType()
public String getInfoleaseKey()
public String getContractNumber()
public String getGlCode()
public Long getTax()
public String getPostDate()
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 isNotNullStatus()
public boolean isNotNullPaymentType()
public boolean isNotNullInfoleaseKey()
public boolean isNotNullContractNumber()
public boolean isNotNullGlCode()
public boolean isNotNullTax()
public boolean isNotNullPostDate()
public boolean isNotNullCreatedTime()
public boolean isNotNullModifiedTime()
public boolean hasId()
public boolean hasStatus()
public boolean hasPaymentType()
public boolean hasInfoleaseKey()
public boolean hasContractNumber()
public boolean hasGlCode()
public boolean hasTax()
public boolean hasPostDate()
public boolean hasCreatedTime()
public boolean hasModifiedTime()
public InfoleaseChargeAttempt setId(String id)
public InfoleaseChargeAttempt setStatus(InfoleaseChargeAttemptStatus status)
public InfoleaseChargeAttempt setPaymentType(String paymentType)
public InfoleaseChargeAttempt setInfoleaseKey(String infoleaseKey)
public InfoleaseChargeAttempt setContractNumber(String contractNumber)
public InfoleaseChargeAttempt setGlCode(String glCode)
public InfoleaseChargeAttempt setTax(Long tax)
public InfoleaseChargeAttempt setPostDate(String postDate)
public InfoleaseChargeAttempt setCreatedTime(Long createdTime)
public InfoleaseChargeAttempt setModifiedTime(Long modifiedTime)
public void clearId()
public void clearStatus()
public void clearPaymentType()
public void clearInfoleaseKey()
public void clearContractNumber()
public void clearGlCode()
public void clearTax()
public void clearPostDate()
public void clearCreatedTime()
public void clearModifiedTime()
public boolean containsChanges()
public void resetChangeLog()
public InfoleaseChargeAttempt copyChanges()
public void mergeChanges(InfoleaseChargeAttempt src)