public class MerchantDeviceBoarding extends GenericParcelable implements Validator, JSONifiable
Additional device data collected during merchant boarding.
Modifier and Type | Class and Description |
---|---|
static interface |
MerchantDeviceBoarding.Constraints |
JSONifiable.Creator<T>
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<MerchantDeviceBoarding> |
CREATOR |
static JSONifiable.Creator<MerchantDeviceBoarding> |
JSON_CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier | Constructor and Description |
---|---|
|
MerchantDeviceBoarding()
Constructs a new empty instance.
|
protected |
MerchantDeviceBoarding(boolean noInit)
Constructs a new empty instance.
|
|
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(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.
|
Modifier and Type | Method and Description |
---|---|
void |
clearBundleIndicator()
Clears the 'bundleIndicator' field, the 'has' method for this field will now return false
|
void |
clearBusinessType()
Clears the 'businessType' 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 |
clearEquipmentNumber()
Clears the 'equipmentNumber' field, the 'has' method for this field will now return false
|
void |
clearForceCloseTime()
Clears the 'forceCloseTime' field, the 'has' method for this field will now return false
|
void |
clearMerchantRef()
Clears the 'merchantRef' 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
|
void |
clearProductType()
Clears the 'productType' field, the 'has' method for this field will now return false
|
void |
clearRemovalTime()
Clears the 'removalTime' field, the 'has' method for this field will now return false
|
void |
clearSerialNumber()
Clears the 'serialNumber' field, the 'has' method for this field will now return false
|
void |
clearStatus()
Clears the 'status' field, the 'has' method for this field will now return false
|
void |
clearTransArmorIndicator()
Clears the 'transArmorIndicator' field, the 'has' method for this field will now return false
|
boolean |
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 type
|
Long |
getCreatedTime()
Date record created
|
String |
getEquipmentNumber()
Equipment number
|
String |
getForceCloseTime()
Force close time
|
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.
|
Reference |
getMerchantRef() |
Long |
getModifiedTime()
Date record updated
|
String |
getProductType()
Device product type
|
Long |
getRemovalTime()
Date device removed from merchant
|
String |
getSerialNumber() |
String |
getStatus()
Device status
|
String |
getTransArmorIndicator()
TransArmor indicator
|
boolean |
hasBundleIndicator()
Checks whether the 'bundleIndicator' field has been set, however the value could be null
|
boolean |
hasBusinessType()
Checks whether the 'businessType' 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 |
hasEquipmentNumber()
Checks whether the 'equipmentNumber' field has been set, however the value could be null
|
boolean |
hasForceCloseTime()
Checks whether the 'forceCloseTime' field has been set, however the value could be null
|
boolean |
hasMerchantRef()
Checks whether the 'merchantRef' 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 |
hasProductType()
Checks whether the 'productType' field has been set, however the value could be null
|
boolean |
hasRemovalTime()
Checks whether the 'removalTime' field has been set, however the value could be null
|
boolean |
hasSerialNumber()
Checks whether the 'serialNumber' field has been set, however the value could be null
|
boolean |
hasStatus()
Checks whether the 'status' field has been set, however the value could be null
|
boolean |
hasTransArmorIndicator()
Checks whether the 'transArmorIndicator' field has been set, however the value could be null
|
boolean |
isNotNullBundleIndicator()
Checks whether the 'bundleIndicator' field is set and is not null
|
boolean |
isNotNullBusinessType()
Checks whether the 'businessType' field is set and is not null
|
boolean |
isNotNullCreatedTime()
Checks whether the 'createdTime' field is set and is not null
|
boolean |
isNotNullEquipmentNumber()
Checks whether the 'equipmentNumber' field is set and is not null
|
boolean |
isNotNullForceCloseTime()
Checks whether the 'forceCloseTime' field is set and is not null
|
boolean |
isNotNullMerchantRef()
Checks whether the 'merchantRef' field is set and is not null
|
boolean |
isNotNullModifiedTime()
Checks whether the 'modifiedTime' field is set and is not null
|
boolean |
isNotNullProductType()
Checks whether the 'productType' field is set and is not null
|
boolean |
isNotNullRemovalTime()
Checks whether the 'removalTime' field is set and is not null
|
boolean |
isNotNullSerialNumber()
Checks whether the 'serialNumber' field is set and is not null
|
boolean |
isNotNullStatus()
Checks whether the 'status' field is set and is not null
|
boolean |
isNotNullTransArmorIndicator()
Checks whether the 'transArmorIndicator' field is set and is not null
|
void |
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() |
describeContents, getBundle, toString, writeToParcel
public static final Parcelable.Creator<MerchantDeviceBoarding> CREATOR
public static final JSONifiable.Creator<MerchantDeviceBoarding> JSON_CREATOR
public MerchantDeviceBoarding()
protected MerchantDeviceBoarding(boolean noInit)
public MerchantDeviceBoarding(String json) throws IllegalArgumentException
IllegalArgumentException
public MerchantDeviceBoarding(JSONObject jsonObject)
public MerchantDeviceBoarding(MerchantDeviceBoarding src)
public Reference getMerchantRef()
public String getProductType()
public String getEquipmentNumber()
public String getBusinessType()
public String getStatus()
public String getTransArmorIndicator()
public String getForceCloseTime()
public Long getCreatedTime()
public Long getModifiedTime()
public String getSerialNumber()
public String getBundleIndicator()
public Long getRemovalTime()
protected GenericClient getGenericClient()
getGenericClient
in class GenericParcelable
public JSONObject getJSONObject()
getJSONObject
in interface JSONifiable
public boolean isNotNullMerchantRef()
public boolean isNotNullProductType()
public boolean isNotNullEquipmentNumber()
public boolean isNotNullBusinessType()
public boolean isNotNullStatus()
public boolean isNotNullTransArmorIndicator()
public boolean isNotNullForceCloseTime()
public boolean isNotNullCreatedTime()
public boolean isNotNullModifiedTime()
public boolean isNotNullSerialNumber()
public boolean isNotNullBundleIndicator()
public boolean isNotNullRemovalTime()
public boolean hasMerchantRef()
public boolean hasProductType()
public boolean hasEquipmentNumber()
public boolean hasBusinessType()
public boolean hasStatus()
public boolean hasTransArmorIndicator()
public boolean hasForceCloseTime()
public boolean hasCreatedTime()
public boolean hasModifiedTime()
public boolean hasSerialNumber()
public boolean hasBundleIndicator()
public boolean hasRemovalTime()
public MerchantDeviceBoarding setMerchantRef(Reference merchantRef)
public MerchantDeviceBoarding setProductType(String productType)
public MerchantDeviceBoarding setEquipmentNumber(String equipmentNumber)
public MerchantDeviceBoarding setBusinessType(String businessType)
public MerchantDeviceBoarding setStatus(String status)
public MerchantDeviceBoarding setTransArmorIndicator(String transArmorIndicator)
public MerchantDeviceBoarding setForceCloseTime(String forceCloseTime)
public MerchantDeviceBoarding setCreatedTime(Long createdTime)
public MerchantDeviceBoarding setModifiedTime(Long modifiedTime)
public MerchantDeviceBoarding setSerialNumber(String serialNumber)
public MerchantDeviceBoarding setBundleIndicator(String bundleIndicator)
public MerchantDeviceBoarding setRemovalTime(Long removalTime)
public void clearMerchantRef()
public void clearProductType()
public void clearEquipmentNumber()
public void clearBusinessType()
public void clearStatus()
public void clearTransArmorIndicator()
public void clearForceCloseTime()
public void clearCreatedTime()
public void clearModifiedTime()
public void clearSerialNumber()
public void clearBundleIndicator()
public void clearRemovalTime()
public boolean containsChanges()
public void resetChangeLog()
public MerchantDeviceBoarding copyChanges()
public void mergeChanges(MerchantDeviceBoarding src)