Package com.clover.sdk.v3.merchant
Class MerchantDeviceBoarding
- java.lang.Object
-
- com.clover.sdk.GenericParcelable
-
- com.clover.sdk.v3.merchant.MerchantDeviceBoarding
-
- All Implemented Interfaces:
Parcelable
,JSONifiable
,Validator
public class MerchantDeviceBoarding extends GenericParcelable implements Validator, JSONifiable
This is an auto-generated Clover data object.Additional device data collected during merchant boarding.
Fields
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
MerchantDeviceBoarding.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<MerchantDeviceBoarding>
CREATOR
static JSONifiable.Creator<MerchantDeviceBoarding>
JSON_CREATOR
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Modifier Constructor Description MerchantDeviceBoarding()
Constructs a new empty instance.protected
MerchantDeviceBoarding(boolean noInit)
Constructs a new empty instance.MerchantDeviceBoarding(MerchantDeviceBoarding src)
Constructs a new instance that is a deep copy of the source instance.MerchantDeviceBoarding(String json)
Constructs a new instance from the given JSON String.MerchantDeviceBoarding(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
clearBundleIndicator()
Clears the 'bundleIndicator' field, the 'has' method for this field will now return falsevoid
clearBusinessType()
Clears the 'businessType' 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
clearEquipmentNumber()
Clears the 'equipmentNumber' field, the 'has' method for this field will now return falsevoid
clearForceCloseTime()
Clears the 'forceCloseTime' field, the 'has' method for this field will now return falsevoid
clearMerchantRef()
Clears the 'merchantRef' 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
clearProductType()
Clears the 'productType' field, the 'has' method for this field will now return falsevoid
clearRemovalTime()
Clears the 'removalTime' field, the 'has' method for this field will now return falsevoid
clearSerialNumber()
Clears the 'serialNumber' 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
clearTransArmorIndicator()
Clears the 'transArmorIndicator' field, the 'has' method for this field will now return falseboolean
containsChanges()
Returns true if this instance has any changes.MerchantDeviceBoarding
copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.String
getBundleIndicator()
String
getBusinessType()
Business typeLong
getCreatedTime()
Date record createdString
getEquipmentNumber()
Equipment numberString
getForceCloseTime()
Force close timeprotected 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.Reference
getMerchantRef()
Long
getModifiedTime()
Date record updatedString
getProductType()
Device product typeLong
getRemovalTime()
Date device removed from merchantString
getSerialNumber()
String
getStatus()
Device statusString
getTransArmorIndicator()
TransArmor indicatorboolean
hasBundleIndicator()
Checks whether the 'bundleIndicator' field has been set, however the value could be nullboolean
hasBusinessType()
Checks whether the 'businessType' 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
hasEquipmentNumber()
Checks whether the 'equipmentNumber' field has been set, however the value could be nullboolean
hasForceCloseTime()
Checks whether the 'forceCloseTime' field has been set, however the value could be nullboolean
hasMerchantRef()
Checks whether the 'merchantRef' 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
hasProductType()
Checks whether the 'productType' field has been set, however the value could be nullboolean
hasRemovalTime()
Checks whether the 'removalTime' field has been set, however the value could be nullboolean
hasSerialNumber()
Checks whether the 'serialNumber' 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
hasTransArmorIndicator()
Checks whether the 'transArmorIndicator' field has been set, however the value could be nullboolean
isNotNullBundleIndicator()
Checks whether the 'bundleIndicator' field is set and is not nullboolean
isNotNullBusinessType()
Checks whether the 'businessType' field is set and is not nullboolean
isNotNullCreatedTime()
Checks whether the 'createdTime' field is set and is not nullboolean
isNotNullEquipmentNumber()
Checks whether the 'equipmentNumber' field is set and is not nullboolean
isNotNullForceCloseTime()
Checks whether the 'forceCloseTime' field is set and is not nullboolean
isNotNullMerchantRef()
Checks whether the 'merchantRef' field is set and is not nullboolean
isNotNullModifiedTime()
Checks whether the 'modifiedTime' field is set and is not nullboolean
isNotNullProductType()
Checks whether the 'productType' field is set and is not nullboolean
isNotNullRemovalTime()
Checks whether the 'removalTime' field is set and is not nullboolean
isNotNullSerialNumber()
Checks whether the 'serialNumber' field is set and is not nullboolean
isNotNullStatus()
Checks whether the 'status' field is set and is not nullboolean
isNotNullTransArmorIndicator()
Checks whether the 'transArmorIndicator' field is set and is not nullvoid
mergeChanges(MerchantDeviceBoarding 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.MerchantDeviceBoarding
setBundleIndicator(String bundleIndicator)
Sets the field 'bundleIndicator'.MerchantDeviceBoarding
setBusinessType(String businessType)
Sets the field 'businessType'.MerchantDeviceBoarding
setCreatedTime(Long createdTime)
Sets the field 'createdTime'.MerchantDeviceBoarding
setEquipmentNumber(String equipmentNumber)
Sets the field 'equipmentNumber'.MerchantDeviceBoarding
setForceCloseTime(String forceCloseTime)
Sets the field 'forceCloseTime'.MerchantDeviceBoarding
setMerchantRef(Reference merchantRef)
Sets the field 'merchantRef'.MerchantDeviceBoarding
setModifiedTime(Long modifiedTime)
Sets the field 'modifiedTime'.MerchantDeviceBoarding
setProductType(String productType)
Sets the field 'productType'.MerchantDeviceBoarding
setRemovalTime(Long removalTime)
Sets the field 'removalTime'.MerchantDeviceBoarding
setSerialNumber(String serialNumber)
Sets the field 'serialNumber'.MerchantDeviceBoarding
setStatus(String status)
Sets the field 'status'.MerchantDeviceBoarding
setTransArmorIndicator(String transArmorIndicator)
Sets the field 'transArmorIndicator'.void
validate()
-
Methods inherited from class com.clover.sdk.GenericParcelable
describeContents, getBundle, toString, writeToParcel
-
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<MerchantDeviceBoarding> CREATOR
-
JSON_CREATOR
public static final JSONifiable.Creator<MerchantDeviceBoarding> JSON_CREATOR
-
-
Constructor Detail
-
MerchantDeviceBoarding
public MerchantDeviceBoarding()
Constructs a new empty instance.
-
MerchantDeviceBoarding
protected MerchantDeviceBoarding(boolean noInit)
Constructs a new empty instance.
-
MerchantDeviceBoarding
public MerchantDeviceBoarding(String json) throws IllegalArgumentException
Constructs a new instance from the given JSON String.- Throws:
IllegalArgumentException
-
MerchantDeviceBoarding
public MerchantDeviceBoarding(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.
-
MerchantDeviceBoarding
public MerchantDeviceBoarding(MerchantDeviceBoarding src)
Constructs a new instance that is a deep copy of the source instance. It does not copy the bundle or changelog.
-
-
Method Detail
-
getMerchantRef
public Reference getMerchantRef()
-
getProductType
public String getProductType()
Device product type
-
getEquipmentNumber
public String getEquipmentNumber()
Equipment number
-
getBusinessType
public String getBusinessType()
Business type
-
getStatus
public String getStatus()
Device status
-
getTransArmorIndicator
public String getTransArmorIndicator()
TransArmor indicator
-
getForceCloseTime
public String getForceCloseTime()
Force close time
-
getCreatedTime
public Long getCreatedTime()
Date record created
-
getModifiedTime
public Long getModifiedTime()
Date record updated
-
getSerialNumber
public String getSerialNumber()
-
getBundleIndicator
public String getBundleIndicator()
-
getRemovalTime
public Long getRemovalTime()
Date device removed from merchant
-
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
-
isNotNullMerchantRef
public boolean isNotNullMerchantRef()
Checks whether the 'merchantRef' field is set and is not null
-
isNotNullProductType
public boolean isNotNullProductType()
Checks whether the 'productType' field is set and is not null
-
isNotNullEquipmentNumber
public boolean isNotNullEquipmentNumber()
Checks whether the 'equipmentNumber' field is set and is not null
-
isNotNullBusinessType
public boolean isNotNullBusinessType()
Checks whether the 'businessType' field is set and is not null
-
isNotNullStatus
public boolean isNotNullStatus()
Checks whether the 'status' field is set and is not null
-
isNotNullTransArmorIndicator
public boolean isNotNullTransArmorIndicator()
Checks whether the 'transArmorIndicator' field is set and is not null
-
isNotNullForceCloseTime
public boolean isNotNullForceCloseTime()
Checks whether the 'forceCloseTime' 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
-
isNotNullSerialNumber
public boolean isNotNullSerialNumber()
Checks whether the 'serialNumber' field is set and is not null
-
isNotNullBundleIndicator
public boolean isNotNullBundleIndicator()
Checks whether the 'bundleIndicator' field is set and is not null
-
isNotNullRemovalTime
public boolean isNotNullRemovalTime()
Checks whether the 'removalTime' field is set and is not null
-
hasMerchantRef
public boolean hasMerchantRef()
Checks whether the 'merchantRef' field has been set, however the value could be null
-
hasProductType
public boolean hasProductType()
Checks whether the 'productType' field has been set, however the value could be null
-
hasEquipmentNumber
public boolean hasEquipmentNumber()
Checks whether the 'equipmentNumber' field has been set, however the value could be null
-
hasBusinessType
public boolean hasBusinessType()
Checks whether the 'businessType' 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
-
hasTransArmorIndicator
public boolean hasTransArmorIndicator()
Checks whether the 'transArmorIndicator' field has been set, however the value could be null
-
hasForceCloseTime
public boolean hasForceCloseTime()
Checks whether the 'forceCloseTime' 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
-
hasSerialNumber
public boolean hasSerialNumber()
Checks whether the 'serialNumber' field has been set, however the value could be null
-
hasBundleIndicator
public boolean hasBundleIndicator()
Checks whether the 'bundleIndicator' field has been set, however the value could be null
-
hasRemovalTime
public boolean hasRemovalTime()
Checks whether the 'removalTime' field has been set, however the value could be null
-
setMerchantRef
public MerchantDeviceBoarding setMerchantRef(Reference merchantRef)
Sets the field 'merchantRef'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setProductType
public MerchantDeviceBoarding setProductType(String productType)
Sets the field 'productType'.
-
setEquipmentNumber
public MerchantDeviceBoarding setEquipmentNumber(String equipmentNumber)
Sets the field 'equipmentNumber'.
-
setBusinessType
public MerchantDeviceBoarding setBusinessType(String businessType)
Sets the field 'businessType'.
-
setStatus
public MerchantDeviceBoarding setStatus(String status)
Sets the field 'status'.
-
setTransArmorIndicator
public MerchantDeviceBoarding setTransArmorIndicator(String transArmorIndicator)
Sets the field 'transArmorIndicator'.
-
setForceCloseTime
public MerchantDeviceBoarding setForceCloseTime(String forceCloseTime)
Sets the field 'forceCloseTime'.
-
setCreatedTime
public MerchantDeviceBoarding setCreatedTime(Long createdTime)
Sets the field 'createdTime'.
-
setModifiedTime
public MerchantDeviceBoarding setModifiedTime(Long modifiedTime)
Sets the field 'modifiedTime'.
-
setSerialNumber
public MerchantDeviceBoarding setSerialNumber(String serialNumber)
Sets the field 'serialNumber'.
-
setBundleIndicator
public MerchantDeviceBoarding setBundleIndicator(String bundleIndicator)
Sets the field 'bundleIndicator'.
-
setRemovalTime
public MerchantDeviceBoarding setRemovalTime(Long removalTime)
Sets the field 'removalTime'.
-
clearMerchantRef
public void clearMerchantRef()
Clears the 'merchantRef' field, the 'has' method for this field will now return false
-
clearProductType
public void clearProductType()
Clears the 'productType' field, the 'has' method for this field will now return false
-
clearEquipmentNumber
public void clearEquipmentNumber()
Clears the 'equipmentNumber' field, the 'has' method for this field will now return false
-
clearBusinessType
public void clearBusinessType()
Clears the 'businessType' 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
-
clearTransArmorIndicator
public void clearTransArmorIndicator()
Clears the 'transArmorIndicator' field, the 'has' method for this field will now return false
-
clearForceCloseTime
public void clearForceCloseTime()
Clears the 'forceCloseTime' 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
-
clearSerialNumber
public void clearSerialNumber()
Clears the 'serialNumber' field, the 'has' method for this field will now return false
-
clearBundleIndicator
public void clearBundleIndicator()
Clears the 'bundleIndicator' field, the 'has' method for this field will now return false
-
clearRemovalTime
public void clearRemovalTime()
Clears the 'removalTime' 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 MerchantDeviceBoarding copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.
-
mergeChanges
public void mergeChanges(MerchantDeviceBoarding src)
Copy all the changed fields from the given source to this instance.
-
-