Package com.clover.sdk.v3.entitlements
Class MerchantGatewayEntitlementConfiguration
- java.lang.Object
-
- com.clover.sdk.GenericParcelable
-
- com.clover.sdk.v3.entitlements.MerchantGatewayEntitlementConfiguration
-
- All Implemented Interfaces:
Parcelable
,JSONifiable
,Validator
public class MerchantGatewayEntitlementConfiguration 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
MerchantGatewayEntitlementConfiguration.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<MerchantGatewayEntitlementConfiguration>
CREATOR
static JSONifiable.Creator<MerchantGatewayEntitlementConfiguration>
JSON_CREATOR
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Modifier Constructor Description MerchantGatewayEntitlementConfiguration()
Constructs a new empty instance.protected
MerchantGatewayEntitlementConfiguration(boolean noInit)
Constructs a new empty instance.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.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearAcceleration()
Clears the 'acceleration' 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
clearDefaultMid()
Clears the 'defaultMid' field, the 'has' method for this field will now return falsevoid
clearDeletedTime()
Clears the 'deletedTime' 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
clearLabel()
Clears the 'label' field, the 'has' method for this field will now return falsevoid
clearLastBoardedTime()
Clears the 'lastBoardedTime' field, the 'has' method for this field will now return falsevoid
clearMcc()
Clears the 'mcc' field, the 'has' method for this field will now return falsevoid
clearMccSource()
Clears the 'mccSource' field, the 'has' method for this field will now return falsevoid
clearMerchantGatewayEntitlement()
Clears the 'merchantGatewayEntitlement' field, the 'has' method for this field will now return falsevoid
clearMid()
Clears the 'mid' 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 falseboolean
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()
AccelerationLong
getCreatedTime()
Created timestamp.DefaultMid
getDefaultMid()
Default MIDLong
getDeletedTime()
Deleted timestamp.protected GenericClient
getGenericClient()
String
getId()
Unique identifierJSONObject
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
getLabel()
ItemLong
getLastBoardedTime()
Last Boarded timestamp.Integer
getMcc()
Merchant Category CodeMccSource
getMccSource()
MCC SourceReference
getMerchantGatewayEntitlement()
String
getMid()
MIDLong
getModifiedTime()
Modified timestamp.boolean
hasAcceleration()
Checks whether the 'acceleration' 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
hasDefaultMid()
Checks whether the 'defaultMid' field has been set, however the value could be nullboolean
hasDeletedTime()
Checks whether the 'deletedTime' 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
hasLabel()
Checks whether the 'label' field has been set, however the value could be nullboolean
hasLastBoardedTime()
Checks whether the 'lastBoardedTime' field has been set, however the value could be nullboolean
hasMcc()
Checks whether the 'mcc' field has been set, however the value could be nullboolean
hasMccSource()
Checks whether the 'mccSource' field has been set, however the value could be nullboolean
hasMerchantGatewayEntitlement()
Checks whether the 'merchantGatewayEntitlement' field has been set, however the value could be nullboolean
hasMid()
Checks whether the 'mid' 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
isNotNullAcceleration()
Checks whether the 'acceleration' field is set and is not nullboolean
isNotNullCreatedTime()
Checks whether the 'createdTime' field is set and is not nullboolean
isNotNullDefaultMid()
Checks whether the 'defaultMid' field is set and is not nullboolean
isNotNullDeletedTime()
Checks whether the 'deletedTime' field is set and is not nullboolean
isNotNullId()
Checks whether the 'id' field is set and is not nullboolean
isNotNullLabel()
Checks whether the 'label' field is set and is not nullboolean
isNotNullLastBoardedTime()
Checks whether the 'lastBoardedTime' field is set and is not nullboolean
isNotNullMcc()
Checks whether the 'mcc' field is set and is not nullboolean
isNotNullMccSource()
Checks whether the 'mccSource' field is set and is not nullboolean
isNotNullMerchantGatewayEntitlement()
Checks whether the 'merchantGatewayEntitlement' field is set and is not nullboolean
isNotNullMid()
Checks whether the 'mid' field is set and is not nullboolean
isNotNullModifiedTime()
Checks whether the 'modifiedTime' field is set and is not nullvoid
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
setLabel(String label)
Sets the field 'label'.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()
-
Methods inherited from class com.clover.sdk.GenericParcelable
describeContents, getBundle, toString, writeToParcel
-
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<MerchantGatewayEntitlementConfiguration> CREATOR
-
JSON_CREATOR
public static final JSONifiable.Creator<MerchantGatewayEntitlementConfiguration> JSON_CREATOR
-
-
Constructor Detail
-
MerchantGatewayEntitlementConfiguration
public MerchantGatewayEntitlementConfiguration()
Constructs a new empty instance.
-
MerchantGatewayEntitlementConfiguration
protected MerchantGatewayEntitlementConfiguration(boolean noInit)
Constructs a new empty instance.
-
MerchantGatewayEntitlementConfiguration
public MerchantGatewayEntitlementConfiguration(String json) throws IllegalArgumentException
Constructs a new instance from the given JSON String.- Throws:
IllegalArgumentException
-
MerchantGatewayEntitlementConfiguration
public 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
public MerchantGatewayEntitlementConfiguration(MerchantGatewayEntitlementConfiguration 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()
Unique identifier
-
getLabel
public String getLabel()
Item
-
getMid
public String getMid()
MID
-
getMccSource
public MccSource getMccSource()
MCC Source
-
getMcc
public Integer getMcc()
Merchant Category Code
-
getAcceleration
public Integer getAcceleration()
Acceleration
-
getDefaultMid
public DefaultMid getDefaultMid()
Default MID
-
getLastBoardedTime
public Long getLastBoardedTime()
Last Boarded timestamp.
-
getCreatedTime
public Long getCreatedTime()
Created timestamp.
-
getModifiedTime
public Long getModifiedTime()
Modified timestamp.
-
getDeletedTime
public Long getDeletedTime()
Deleted timestamp.
-
getMerchantGatewayEntitlement
public Reference getMerchantGatewayEntitlement()
-
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
-
isNotNullLabel
public boolean isNotNullLabel()
Checks whether the 'label' field is set and is not null
-
isNotNullMid
public boolean isNotNullMid()
Checks whether the 'mid' field is set and is not null
-
isNotNullMccSource
public boolean isNotNullMccSource()
Checks whether the 'mccSource' field is set and is not null
-
isNotNullMcc
public boolean isNotNullMcc()
Checks whether the 'mcc' field is set and is not null
-
isNotNullAcceleration
public boolean isNotNullAcceleration()
Checks whether the 'acceleration' field is set and is not null
-
isNotNullDefaultMid
public boolean isNotNullDefaultMid()
Checks whether the 'defaultMid' field is set and is not null
-
isNotNullLastBoardedTime
public boolean isNotNullLastBoardedTime()
Checks whether the 'lastBoardedTime' 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
-
isNotNullDeletedTime
public boolean isNotNullDeletedTime()
Checks whether the 'deletedTime' field is set and is not null
-
isNotNullMerchantGatewayEntitlement
public boolean isNotNullMerchantGatewayEntitlement()
Checks whether the 'merchantGatewayEntitlement' 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
-
hasLabel
public boolean hasLabel()
Checks whether the 'label' field has been set, however the value could be null
-
hasMid
public boolean hasMid()
Checks whether the 'mid' field has been set, however the value could be null
-
hasMccSource
public boolean hasMccSource()
Checks whether the 'mccSource' field has been set, however the value could be null
-
hasMcc
public boolean hasMcc()
Checks whether the 'mcc' field has been set, however the value could be null
-
hasAcceleration
public boolean hasAcceleration()
Checks whether the 'acceleration' field has been set, however the value could be null
-
hasDefaultMid
public boolean hasDefaultMid()
Checks whether the 'defaultMid' field has been set, however the value could be null
-
hasLastBoardedTime
public boolean hasLastBoardedTime()
Checks whether the 'lastBoardedTime' 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
-
hasDeletedTime
public boolean hasDeletedTime()
Checks whether the 'deletedTime' field has been set, however the value could be null
-
hasMerchantGatewayEntitlement
public boolean hasMerchantGatewayEntitlement()
Checks whether the 'merchantGatewayEntitlement' field has been set, however the value could be null
-
setId
public MerchantGatewayEntitlementConfiguration setId(String id)
Sets the field 'id'.
-
setLabel
public MerchantGatewayEntitlementConfiguration setLabel(String label)
Sets the field 'label'.
-
setMid
public MerchantGatewayEntitlementConfiguration setMid(String mid)
Sets the field 'mid'.
-
setMccSource
public MerchantGatewayEntitlementConfiguration setMccSource(MccSource mccSource)
Sets the field 'mccSource'.
-
setMcc
public MerchantGatewayEntitlementConfiguration setMcc(Integer mcc)
Sets the field 'mcc'.
-
setAcceleration
public MerchantGatewayEntitlementConfiguration setAcceleration(Integer acceleration)
Sets the field 'acceleration'.
-
setDefaultMid
public MerchantGatewayEntitlementConfiguration setDefaultMid(DefaultMid defaultMid)
Sets the field 'defaultMid'.
-
setLastBoardedTime
public MerchantGatewayEntitlementConfiguration setLastBoardedTime(Long lastBoardedTime)
Sets the field 'lastBoardedTime'.
-
setCreatedTime
public MerchantGatewayEntitlementConfiguration setCreatedTime(Long createdTime)
Sets the field 'createdTime'.
-
setModifiedTime
public MerchantGatewayEntitlementConfiguration setModifiedTime(Long modifiedTime)
Sets the field 'modifiedTime'.
-
setDeletedTime
public MerchantGatewayEntitlementConfiguration setDeletedTime(Long deletedTime)
Sets the field 'deletedTime'.
-
setMerchantGatewayEntitlement
public MerchantGatewayEntitlementConfiguration setMerchantGatewayEntitlement(Reference merchantGatewayEntitlement)
Sets the field 'merchantGatewayEntitlement'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
clearId
public void clearId()
Clears the 'id' field, the 'has' method for this field will now return false
-
clearLabel
public void clearLabel()
Clears the 'label' field, the 'has' method for this field will now return false
-
clearMid
public void clearMid()
Clears the 'mid' field, the 'has' method for this field will now return false
-
clearMccSource
public void clearMccSource()
Clears the 'mccSource' field, the 'has' method for this field will now return false
-
clearMcc
public void clearMcc()
Clears the 'mcc' field, the 'has' method for this field will now return false
-
clearAcceleration
public void clearAcceleration()
Clears the 'acceleration' field, the 'has' method for this field will now return false
-
clearDefaultMid
public void clearDefaultMid()
Clears the 'defaultMid' field, the 'has' method for this field will now return false
-
clearLastBoardedTime
public void clearLastBoardedTime()
Clears the 'lastBoardedTime' 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
-
clearDeletedTime
public void clearDeletedTime()
Clears the 'deletedTime' field, the 'has' method for this field will now return false
-
clearMerchantGatewayEntitlement
public void clearMerchantGatewayEntitlement()
Clears the 'merchantGatewayEntitlement' 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 MerchantGatewayEntitlementConfiguration copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.
-
mergeChanges
public void mergeChanges(MerchantGatewayEntitlementConfiguration src)
Copy all the changed fields from the given source to this instance.
-
-