public class GatewayTxAnalytic extends GenericParcelable implements Validator, JSONifiable
Modifier and Type | Class and Description |
---|---|
static interface |
GatewayTxAnalytic.Constraints |
JSONifiable.Creator<T>
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<GatewayTxAnalytic> |
CREATOR |
static JSONifiable.Creator<GatewayTxAnalytic> |
JSON_CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier | Constructor and Description |
---|---|
|
GatewayTxAnalytic()
Constructs a new empty instance.
|
protected |
GatewayTxAnalytic(boolean noInit)
Constructs a new empty instance.
|
|
GatewayTxAnalytic(GatewayTxAnalytic src)
Constructs a new instance that is a deep copy of the source instance.
|
|
GatewayTxAnalytic(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.
|
|
GatewayTxAnalytic(String json)
Constructs a new instance from the given JSON String.
|
Modifier and Type | Method and Description |
---|---|
void |
clearAdjustAmount()
Clears the 'adjustAmount' 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 |
clearMerchantGatewayId()
Clears the 'merchantGatewayId' field, the 'has' method for this field will now return false
|
void |
clearRefnum()
Clears the 'refnum' field, the 'has' method for this field will now return false
|
void |
clearResponseCode()
Clears the 'responseCode' field, the 'has' method for this field will now return false
|
void |
clearType()
Clears the 'type' field, the 'has' method for this field will now return false
|
boolean |
containsChanges()
Returns true if this instance has any changes.
|
GatewayTxAnalytic |
copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.
|
Integer |
getAdjustAmount() |
Long |
getCreatedTime() |
protected GenericClient |
getGenericClient() |
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 |
getMerchantGatewayId() |
String |
getRefnum() |
String |
getResponseCode() |
String |
getType() |
boolean |
hasAdjustAmount()
Checks whether the 'adjustAmount' 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 |
hasMerchantGatewayId()
Checks whether the 'merchantGatewayId' field has been set, however the value could be null
|
boolean |
hasRefnum()
Checks whether the 'refnum' field has been set, however the value could be null
|
boolean |
hasResponseCode()
Checks whether the 'responseCode' field has been set, however the value could be null
|
boolean |
hasType()
Checks whether the 'type' field has been set, however the value could be null
|
boolean |
isNotNullAdjustAmount()
Checks whether the 'adjustAmount' field is set and is not null
|
boolean |
isNotNullCreatedTime()
Checks whether the 'createdTime' field is set and is not null
|
boolean |
isNotNullMerchantGatewayId()
Checks whether the 'merchantGatewayId' field is set and is not null
|
boolean |
isNotNullRefnum()
Checks whether the 'refnum' field is set and is not null
|
boolean |
isNotNullResponseCode()
Checks whether the 'responseCode' field is set and is not null
|
boolean |
isNotNullType()
Checks whether the 'type' field is set and is not null
|
void |
mergeChanges(GatewayTxAnalytic 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.
|
GatewayTxAnalytic |
setAdjustAmount(Integer adjustAmount)
Sets the field 'adjustAmount'.
|
GatewayTxAnalytic |
setCreatedTime(Long createdTime)
Sets the field 'createdTime'.
|
GatewayTxAnalytic |
setMerchantGatewayId(Long merchantGatewayId)
Sets the field 'merchantGatewayId'.
|
GatewayTxAnalytic |
setRefnum(String refnum)
Sets the field 'refnum'.
|
GatewayTxAnalytic |
setResponseCode(String responseCode)
Sets the field 'responseCode'.
|
GatewayTxAnalytic |
setType(String type)
Sets the field 'type'.
|
void |
validate() |
describeContents, getBundle, toString, writeToParcel
public static final Parcelable.Creator<GatewayTxAnalytic> CREATOR
public static final JSONifiable.Creator<GatewayTxAnalytic> JSON_CREATOR
public GatewayTxAnalytic()
protected GatewayTxAnalytic(boolean noInit)
public GatewayTxAnalytic(String json) throws IllegalArgumentException
IllegalArgumentException
public GatewayTxAnalytic(JSONObject jsonObject)
public GatewayTxAnalytic(GatewayTxAnalytic src)
public String getType()
public String getResponseCode()
public Long getCreatedTime()
public Integer getAdjustAmount()
public String getRefnum()
public Long getMerchantGatewayId()
protected GenericClient getGenericClient()
getGenericClient
in class GenericParcelable
public JSONObject getJSONObject()
getJSONObject
in interface JSONifiable
public boolean isNotNullType()
public boolean isNotNullResponseCode()
public boolean isNotNullCreatedTime()
public boolean isNotNullAdjustAmount()
public boolean isNotNullRefnum()
public boolean isNotNullMerchantGatewayId()
public boolean hasType()
public boolean hasResponseCode()
public boolean hasCreatedTime()
public boolean hasAdjustAmount()
public boolean hasRefnum()
public boolean hasMerchantGatewayId()
public GatewayTxAnalytic setType(String type)
public GatewayTxAnalytic setResponseCode(String responseCode)
public GatewayTxAnalytic setCreatedTime(Long createdTime)
public GatewayTxAnalytic setAdjustAmount(Integer adjustAmount)
public GatewayTxAnalytic setRefnum(String refnum)
public GatewayTxAnalytic setMerchantGatewayId(Long merchantGatewayId)
public void clearType()
public void clearResponseCode()
public void clearCreatedTime()
public void clearAdjustAmount()
public void clearRefnum()
public void clearMerchantGatewayId()
public boolean containsChanges()
public void resetChangeLog()
public GatewayTxAnalytic copyChanges()
public void mergeChanges(GatewayTxAnalytic src)