public class MerchantGatewayEntitlementConfiguration extends GenericParcelable implements Validator, JSONifiable
Modifier and Type | Class and Description |
---|---|
static interface |
MerchantGatewayEntitlementConfiguration.Constraints |
JSONifiable.Creator<T>
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<MerchantGatewayEntitlementConfiguration> |
CREATOR |
static JSONifiable.Creator<MerchantGatewayEntitlementConfiguration> |
JSON_CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier | Constructor and Description |
---|---|
|
MerchantGatewayEntitlementConfiguration()
Constructs a new empty instance.
|
protected |
MerchantGatewayEntitlementConfiguration(boolean noInit)
Constructs a new empty instance.
|
|
MerchantGatewayEntitlementConfiguration(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.
|
|
MerchantGatewayEntitlementConfiguration(MerchantGatewayEntitlementConfiguration src)
Constructs a new instance that is a deep copy of the source instance.
|
|
MerchantGatewayEntitlementConfiguration(String json)
Constructs a new instance from the given JSON String.
|
Modifier and Type | Method and Description |
---|---|
void |
clearAcceleration()
Clears the 'acceleration' 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 |
clearDefaultMid()
Clears the 'defaultMid' field, the 'has' method for this field will now return false
|
void |
clearDeletedTime()
Clears the 'deletedTime' 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 |
clearLastBoardedTime()
Clears the 'lastBoardedTime' field, the 'has' method for this field will now return false
|
void |
clearMcc()
Clears the 'mcc' field, the 'has' method for this field will now return false
|
void |
clearMccSource()
Clears the 'mccSource' field, the 'has' method for this field will now return false
|
void |
clearMerchantGatewayEntitlement()
Clears the 'merchantGatewayEntitlement' field, the 'has' method for this field will now return false
|
void |
clearMid()
Clears the 'mid' 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
|
boolean |
containsChanges()
Returns true if this instance has any changes.
|
MerchantGatewayEntitlementConfiguration |
copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.
|
Integer |
getAcceleration()
Acceleration
|
Long |
getCreatedTime()
Created timestamp.
|
DefaultMid |
getDefaultMid()
Default MID
|
Long |
getDeletedTime()
Deleted timestamp.
|
protected GenericClient |
getGenericClient() |
String |
getId()
Unique identifier
|
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 |
getLastBoardedTime()
Last Boarded timestamp.
|
Integer |
getMcc()
Merchant Category Code
|
MccSource |
getMccSource()
MCC Source
|
Reference |
getMerchantGatewayEntitlement() |
String |
getMid()
MID
|
Long |
getModifiedTime()
Modified timestamp.
|
boolean |
hasAcceleration()
Checks whether the 'acceleration' 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 |
hasDefaultMid()
Checks whether the 'defaultMid' field has been set, however the value could be null
|
boolean |
hasDeletedTime()
Checks whether the 'deletedTime' 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 |
hasLastBoardedTime()
Checks whether the 'lastBoardedTime' field has been set, however the value could be null
|
boolean |
hasMcc()
Checks whether the 'mcc' field has been set, however the value could be null
|
boolean |
hasMccSource()
Checks whether the 'mccSource' field has been set, however the value could be null
|
boolean |
hasMerchantGatewayEntitlement()
Checks whether the 'merchantGatewayEntitlement' field has been set, however the value could be null
|
boolean |
hasMid()
Checks whether the 'mid' 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 |
isNotNullAcceleration()
Checks whether the 'acceleration' field is set and is not null
|
boolean |
isNotNullCreatedTime()
Checks whether the 'createdTime' field is set and is not null
|
boolean |
isNotNullDefaultMid()
Checks whether the 'defaultMid' field is set and is not null
|
boolean |
isNotNullDeletedTime()
Checks whether the 'deletedTime' field is set and is not null
|
boolean |
isNotNullId()
Checks whether the 'id' field is set and is not null
|
boolean |
isNotNullLastBoardedTime()
Checks whether the 'lastBoardedTime' field is set and is not null
|
boolean |
isNotNullMcc()
Checks whether the 'mcc' field is set and is not null
|
boolean |
isNotNullMccSource()
Checks whether the 'mccSource' field is set and is not null
|
boolean |
isNotNullMerchantGatewayEntitlement()
Checks whether the 'merchantGatewayEntitlement' field is set and is not null
|
boolean |
isNotNullMid()
Checks whether the 'mid' field is set and is not null
|
boolean |
isNotNullModifiedTime()
Checks whether the 'modifiedTime' field is set and is not null
|
void |
mergeChanges(MerchantGatewayEntitlementConfiguration 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.
|
MerchantGatewayEntitlementConfiguration |
setAcceleration(Integer acceleration)
Sets the field 'acceleration'.
|
MerchantGatewayEntitlementConfiguration |
setCreatedTime(Long createdTime)
Sets the field 'createdTime'.
|
MerchantGatewayEntitlementConfiguration |
setDefaultMid(DefaultMid defaultMid)
Sets the field 'defaultMid'.
|
MerchantGatewayEntitlementConfiguration |
setDeletedTime(Long deletedTime)
Sets the field 'deletedTime'.
|
MerchantGatewayEntitlementConfiguration |
setId(String id)
Sets the field 'id'.
|
MerchantGatewayEntitlementConfiguration |
setLastBoardedTime(Long lastBoardedTime)
Sets the field 'lastBoardedTime'.
|
MerchantGatewayEntitlementConfiguration |
setMcc(Integer mcc)
Sets the field 'mcc'.
|
MerchantGatewayEntitlementConfiguration |
setMccSource(MccSource mccSource)
Sets the field 'mccSource'.
|
MerchantGatewayEntitlementConfiguration |
setMerchantGatewayEntitlement(Reference merchantGatewayEntitlement)
Sets the field 'merchantGatewayEntitlement'.
|
MerchantGatewayEntitlementConfiguration |
setMid(String mid)
Sets the field 'mid'.
|
MerchantGatewayEntitlementConfiguration |
setModifiedTime(Long modifiedTime)
Sets the field 'modifiedTime'.
|
void |
validate() |
describeContents, getBundle, toString, writeToParcel
public static final Parcelable.Creator<MerchantGatewayEntitlementConfiguration> CREATOR
public static final JSONifiable.Creator<MerchantGatewayEntitlementConfiguration> JSON_CREATOR
public MerchantGatewayEntitlementConfiguration()
protected MerchantGatewayEntitlementConfiguration(boolean noInit)
public MerchantGatewayEntitlementConfiguration(String json) throws IllegalArgumentException
IllegalArgumentException
public MerchantGatewayEntitlementConfiguration(JSONObject jsonObject)
public MerchantGatewayEntitlementConfiguration(MerchantGatewayEntitlementConfiguration src)
public String getId()
public String getMid()
public MccSource getMccSource()
public Integer getMcc()
public Integer getAcceleration()
public DefaultMid getDefaultMid()
public Long getLastBoardedTime()
public Long getCreatedTime()
public Long getModifiedTime()
public Long getDeletedTime()
public Reference getMerchantGatewayEntitlement()
protected GenericClient getGenericClient()
getGenericClient
in class GenericParcelable
public JSONObject getJSONObject()
getJSONObject
in interface JSONifiable
public boolean isNotNullId()
public boolean isNotNullMid()
public boolean isNotNullMccSource()
public boolean isNotNullMcc()
public boolean isNotNullAcceleration()
public boolean isNotNullDefaultMid()
public boolean isNotNullLastBoardedTime()
public boolean isNotNullCreatedTime()
public boolean isNotNullModifiedTime()
public boolean isNotNullDeletedTime()
public boolean isNotNullMerchantGatewayEntitlement()
public boolean hasId()
public boolean hasMid()
public boolean hasMccSource()
public boolean hasMcc()
public boolean hasAcceleration()
public boolean hasDefaultMid()
public boolean hasLastBoardedTime()
public boolean hasCreatedTime()
public boolean hasModifiedTime()
public boolean hasDeletedTime()
public boolean hasMerchantGatewayEntitlement()
public MerchantGatewayEntitlementConfiguration setId(String id)
public MerchantGatewayEntitlementConfiguration setMid(String mid)
public MerchantGatewayEntitlementConfiguration setMccSource(MccSource mccSource)
public MerchantGatewayEntitlementConfiguration setMcc(Integer mcc)
public MerchantGatewayEntitlementConfiguration setAcceleration(Integer acceleration)
public MerchantGatewayEntitlementConfiguration setDefaultMid(DefaultMid defaultMid)
public MerchantGatewayEntitlementConfiguration setLastBoardedTime(Long lastBoardedTime)
public MerchantGatewayEntitlementConfiguration setCreatedTime(Long createdTime)
public MerchantGatewayEntitlementConfiguration setModifiedTime(Long modifiedTime)
public MerchantGatewayEntitlementConfiguration setDeletedTime(Long deletedTime)
public MerchantGatewayEntitlementConfiguration setMerchantGatewayEntitlement(Reference merchantGatewayEntitlement)
public void clearId()
public void clearMid()
public void clearMccSource()
public void clearMcc()
public void clearAcceleration()
public void clearDefaultMid()
public void clearLastBoardedTime()
public void clearCreatedTime()
public void clearModifiedTime()
public void clearDeletedTime()
public void clearMerchantGatewayEntitlement()
public boolean containsChanges()
public void resetChangeLog()
public MerchantGatewayEntitlementConfiguration copyChanges()
public void mergeChanges(MerchantGatewayEntitlementConfiguration src)