Package com.clover.sdk.v3.billing
Class InfoleaseChargeAttempt
- java.lang.Object
-
- com.clover.sdk.GenericParcelable
-
- com.clover.sdk.v3.billing.InfoleaseChargeAttempt
-
- All Implemented Interfaces:
Parcelable
,JSONifiable
,Validator
public class InfoleaseChargeAttempt 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
InfoleaseChargeAttempt.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<InfoleaseChargeAttempt>
CREATOR
static JSONifiable.Creator<InfoleaseChargeAttempt>
JSON_CREATOR
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Modifier Constructor 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(String json)
Constructs a new instance from the given JSON String.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearContractNumber()
Clears the 'contractNumber' field, the 'has' method for this field will now return falsevoid
clearCreatedTime()
Clears the 'createdTime' field, the 'has' method for this field will now return falsevoid
clearGlCode()
Clears the 'glCode' 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
clearInfoleaseKey()
Clears the 'infoleaseKey' field, the 'has' method for this field will now return falsevoid
clearModifiedTime()
Clears the 'modifiedTime' field, the 'has' method for this field will now return falsevoid
clearPaymentType()
Clears the 'paymentType' field, the 'has' method for this field will now return falsevoid
clearPostDate()
Clears the 'postDate' field, the 'has' method for this field will now return falsevoid
clearStatus()
Clears the 'status' field, the 'has' method for this field will now return falsevoid
clearTax()
Clears the 'tax' field, the 'has' method for this field will now return falseboolean
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 nullboolean
hasCreatedTime()
Checks whether the 'createdTime' field has been set, however the value could be nullboolean
hasGlCode()
Checks whether the 'glCode' 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
hasInfoleaseKey()
Checks whether the 'infoleaseKey' field has been set, however the value could be nullboolean
hasModifiedTime()
Checks whether the 'modifiedTime' field has been set, however the value could be nullboolean
hasPaymentType()
Checks whether the 'paymentType' field has been set, however the value could be nullboolean
hasPostDate()
Checks whether the 'postDate' field has been set, however the value could be nullboolean
hasStatus()
Checks whether the 'status' field has been set, however the value could be nullboolean
hasTax()
Checks whether the 'tax' field has been set, however the value could be nullboolean
isNotNullContractNumber()
Checks whether the 'contractNumber' field is set and is not nullboolean
isNotNullCreatedTime()
Checks whether the 'createdTime' field is set and is not nullboolean
isNotNullGlCode()
Checks whether the 'glCode' field is set and is not nullboolean
isNotNullId()
Checks whether the 'id' field is set and is not nullboolean
isNotNullInfoleaseKey()
Checks whether the 'infoleaseKey' field is set and is not nullboolean
isNotNullModifiedTime()
Checks whether the 'modifiedTime' field is set and is not nullboolean
isNotNullPaymentType()
Checks whether the 'paymentType' field is set and is not nullboolean
isNotNullPostDate()
Checks whether the 'postDate' field is set and is not nullboolean
isNotNullStatus()
Checks whether the 'status' field is set and is not nullboolean
isNotNullTax()
Checks whether the 'tax' field is set and is not nullvoid
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()
-
Methods inherited from class com.clover.sdk.GenericParcelable
describeContents, getBundle, toString, writeToParcel
-
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<InfoleaseChargeAttempt> CREATOR
-
JSON_CREATOR
public static final JSONifiable.Creator<InfoleaseChargeAttempt> JSON_CREATOR
-
-
Constructor Detail
-
InfoleaseChargeAttempt
public InfoleaseChargeAttempt()
Constructs a new empty instance.
-
InfoleaseChargeAttempt
protected InfoleaseChargeAttempt(boolean noInit)
Constructs a new empty instance.
-
InfoleaseChargeAttempt
public InfoleaseChargeAttempt(String json) throws IllegalArgumentException
Constructs a new instance from the given JSON String.- Throws:
IllegalArgumentException
-
InfoleaseChargeAttempt
public 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
public InfoleaseChargeAttempt(InfoleaseChargeAttempt 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()
-
getStatus
public InfoleaseChargeAttemptStatus getStatus()
-
getPaymentType
public String getPaymentType()
-
getInfoleaseKey
public String getInfoleaseKey()
-
getContractNumber
public String getContractNumber()
-
getGlCode
public String getGlCode()
-
getTax
public Long getTax()
-
getPostDate
public String getPostDate()
-
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
-
isNotNullStatus
public boolean isNotNullStatus()
Checks whether the 'status' field is set and is not null
-
isNotNullPaymentType
public boolean isNotNullPaymentType()
Checks whether the 'paymentType' field is set and is not null
-
isNotNullInfoleaseKey
public boolean isNotNullInfoleaseKey()
Checks whether the 'infoleaseKey' field is set and is not null
-
isNotNullContractNumber
public boolean isNotNullContractNumber()
Checks whether the 'contractNumber' field is set and is not null
-
isNotNullGlCode
public boolean isNotNullGlCode()
Checks whether the 'glCode' field is set and is not null
-
isNotNullTax
public boolean isNotNullTax()
Checks whether the 'tax' field is set and is not null
-
isNotNullPostDate
public boolean isNotNullPostDate()
Checks whether the 'postDate' field is set and is not null
-
isNotNullCreatedTime
public boolean isNotNullCreatedTime()
Checks whether the 'createdTime' field is set and is not null
-
isNotNullModifiedTime
public boolean isNotNullModifiedTime()
Checks whether the 'modifiedTime' 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
-
hasStatus
public boolean hasStatus()
Checks whether the 'status' field has been set, however the value could be null
-
hasPaymentType
public boolean hasPaymentType()
Checks whether the 'paymentType' field has been set, however the value could be null
-
hasInfoleaseKey
public boolean hasInfoleaseKey()
Checks whether the 'infoleaseKey' field has been set, however the value could be null
-
hasContractNumber
public boolean hasContractNumber()
Checks whether the 'contractNumber' field has been set, however the value could be null
-
hasGlCode
public boolean hasGlCode()
Checks whether the 'glCode' field has been set, however the value could be null
-
hasTax
public boolean hasTax()
Checks whether the 'tax' field has been set, however the value could be null
-
hasPostDate
public boolean hasPostDate()
Checks whether the 'postDate' field has been set, however the value could be null
-
hasCreatedTime
public boolean hasCreatedTime()
Checks whether the 'createdTime' field has been set, however the value could be null
-
hasModifiedTime
public boolean hasModifiedTime()
Checks whether the 'modifiedTime' field has been set, however the value could be null
-
setId
public InfoleaseChargeAttempt setId(String id)
Sets the field 'id'.
-
setStatus
public InfoleaseChargeAttempt setStatus(InfoleaseChargeAttemptStatus status)
Sets the field 'status'.
-
setPaymentType
public InfoleaseChargeAttempt setPaymentType(String paymentType)
Sets the field 'paymentType'.
-
setInfoleaseKey
public InfoleaseChargeAttempt setInfoleaseKey(String infoleaseKey)
Sets the field 'infoleaseKey'.
-
setContractNumber
public InfoleaseChargeAttempt setContractNumber(String contractNumber)
Sets the field 'contractNumber'.
-
setGlCode
public InfoleaseChargeAttempt setGlCode(String glCode)
Sets the field 'glCode'.
-
setTax
public InfoleaseChargeAttempt setTax(Long tax)
Sets the field 'tax'.
-
setPostDate
public InfoleaseChargeAttempt setPostDate(String postDate)
Sets the field 'postDate'.
-
setCreatedTime
public InfoleaseChargeAttempt setCreatedTime(Long createdTime)
Sets the field 'createdTime'.
-
setModifiedTime
public InfoleaseChargeAttempt setModifiedTime(Long modifiedTime)
Sets the field 'modifiedTime'.
-
clearId
public void clearId()
Clears the 'id' field, the 'has' method for this field will now return false
-
clearStatus
public void clearStatus()
Clears the 'status' field, the 'has' method for this field will now return false
-
clearPaymentType
public void clearPaymentType()
Clears the 'paymentType' field, the 'has' method for this field will now return false
-
clearInfoleaseKey
public void clearInfoleaseKey()
Clears the 'infoleaseKey' field, the 'has' method for this field will now return false
-
clearContractNumber
public void clearContractNumber()
Clears the 'contractNumber' field, the 'has' method for this field will now return false
-
clearGlCode
public void clearGlCode()
Clears the 'glCode' field, the 'has' method for this field will now return false
-
clearTax
public void clearTax()
Clears the 'tax' field, the 'has' method for this field will now return false
-
clearPostDate
public void clearPostDate()
Clears the 'postDate' field, the 'has' method for this field will now return false
-
clearCreatedTime
public void clearCreatedTime()
Clears the 'createdTime' field, the 'has' method for this field will now return false
-
clearModifiedTime
public void clearModifiedTime()
Clears the 'modifiedTime' 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 InfoleaseChargeAttempt copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.
-
mergeChanges
public void mergeChanges(InfoleaseChargeAttempt src)
Copy all the changed fields from the given source to this instance.
-
-