Package com.clover.sdk.v3.device
Class Device
- java.lang.Object
-
- com.clover.sdk.GenericParcelable
-
- com.clover.sdk.v3.device.Device
-
- All Implemented Interfaces:
Parcelable
,JSONifiable
,Validator
public class Device extends GenericParcelable implements Validator, JSONifiable
This is an auto-generated Clover data object.Fields
id
name
model
merchant
orderPrefix
terminalId
terminalPrefix
serial
buildNumber
secureId
buildType
cpuId
imei
imsi
simIccid
deviceCertificate
pedCertificate
deviceTypeName
productName
pinDisabled
offlinePayments
offlinePaymentsAll
offlinePaymentsLimit
offlinePaymentsPromptThreshold
offlinePaymentsTotalPaymentsLimit
offlinePaymentsLimitDefault
offlinePaymentsPromptThresholdDefault
offlinePaymentsTotalPaymentsLimitDefault
offlinePaymentsMaxLimit
offlinePaymentsMaxTotalPaymentsLimit
showOfflinePayments
maxOfflineDays
allowStoreAndForward
secureReports
bundleIndicator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Device.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<Device>
CREATOR
static JSONifiable.Creator<Device>
JSON_CREATOR
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Modifier Constructor Description Device()
Constructs a new empty instance.protected
Device(boolean noInit)
Constructs a new empty instance.Device(Device src)
Constructs a new instance that is a deep copy of the source instance.Device(String json)
Constructs a new instance from the given JSON String.Device(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
clearAllowStoreAndForward()
Clears the 'allowStoreAndForward' field, the 'has' method for this field will now return falsevoid
clearBuildNumber()
Clears the 'buildNumber' field, the 'has' method for this field will now return falsevoid
clearBuildType()
Clears the 'buildType' field, the 'has' method for this field will now return falsevoid
clearBundleIndicator()
Clears the 'bundleIndicator' field, the 'has' method for this field will now return falsevoid
clearCpuId()
Clears the 'cpuId' field, the 'has' method for this field will now return falsevoid
clearDeviceCertificate()
Clears the 'deviceCertificate' field, the 'has' method for this field will now return falsevoid
clearDeviceTypeName()
Clears the 'deviceTypeName' 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
clearImei()
Clears the 'imei' field, the 'has' method for this field will now return falsevoid
clearImsi()
Clears the 'imsi' field, the 'has' method for this field will now return falsevoid
clearMaxOfflineDays()
Clears the 'maxOfflineDays' field, the 'has' method for this field will now return falsevoid
clearMerchant()
Clears the 'merchant' field, the 'has' method for this field will now return falsevoid
clearModel()
Clears the 'model' field, the 'has' method for this field will now return falsevoid
clearName()
Clears the 'name' field, the 'has' method for this field will now return falsevoid
clearOfflinePayments()
Clears the 'offlinePayments' field, the 'has' method for this field will now return falsevoid
clearOfflinePaymentsAll()
Clears the 'offlinePaymentsAll' field, the 'has' method for this field will now return falsevoid
clearOfflinePaymentsLimit()
Clears the 'offlinePaymentsLimit' field, the 'has' method for this field will now return falsevoid
clearOfflinePaymentsLimitDefault()
Clears the 'offlinePaymentsLimitDefault' field, the 'has' method for this field will now return falsevoid
clearOfflinePaymentsMaxLimit()
Clears the 'offlinePaymentsMaxLimit' field, the 'has' method for this field will now return falsevoid
clearOfflinePaymentsMaxTotalPaymentsLimit()
Clears the 'offlinePaymentsMaxTotalPaymentsLimit' field, the 'has' method for this field will now return falsevoid
clearOfflinePaymentsPromptThreshold()
Clears the 'offlinePaymentsPromptThreshold' field, the 'has' method for this field will now return falsevoid
clearOfflinePaymentsPromptThresholdDefault()
Clears the 'offlinePaymentsPromptThresholdDefault' field, the 'has' method for this field will now return falsevoid
clearOfflinePaymentsTotalPaymentsLimit()
Clears the 'offlinePaymentsTotalPaymentsLimit' field, the 'has' method for this field will now return falsevoid
clearOfflinePaymentsTotalPaymentsLimitDefault()
Clears the 'offlinePaymentsTotalPaymentsLimitDefault' field, the 'has' method for this field will now return falsevoid
clearOrderPrefix()
Clears the 'orderPrefix' field, the 'has' method for this field will now return falsevoid
clearPedCertificate()
Clears the 'pedCertificate' field, the 'has' method for this field will now return falsevoid
clearPinDisabled()
Clears the 'pinDisabled' field, the 'has' method for this field will now return falsevoid
clearProductName()
Clears the 'productName' field, the 'has' method for this field will now return falsevoid
clearSecureId()
Clears the 'secureId' field, the 'has' method for this field will now return falsevoid
clearSecureReports()
Clears the 'secureReports' field, the 'has' method for this field will now return falsevoid
clearSerial()
Clears the 'serial' field, the 'has' method for this field will now return falsevoid
clearShowOfflinePayments()
Clears the 'showOfflinePayments' field, the 'has' method for this field will now return falsevoid
clearSimIccid()
Clears the 'simIccid' field, the 'has' method for this field will now return falsevoid
clearTerminalId()
Clears the 'terminalId' field, the 'has' method for this field will now return falsevoid
clearTerminalPrefix()
Clears the 'terminalPrefix' field, the 'has' method for this field will now return falseboolean
containsChanges()
Returns true if this instance has any changes.Device
copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.Boolean
getAllowStoreAndForward()
Long
getBuildNumber()
BuildType
getBuildType()
String
getBundleIndicator()
String
getCpuId()
String
getDeviceCertificate()
String
getDeviceTypeName()
protected GenericClient
getGenericClient()
String
getId()
Unique identifierString
getImei()
The IMEI of the deviceString
getImsi()
The IMSI of the SIM in the device (if present)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
getMaxOfflineDays()
Reference
getMerchant()
String
getModel()
String
getName()
Name of the device (if entered)Boolean
getOfflinePayments()
Boolean
getOfflinePaymentsAll()
Long
getOfflinePaymentsLimit()
Long
getOfflinePaymentsLimitDefault()
Long
getOfflinePaymentsMaxLimit()
Long
getOfflinePaymentsMaxTotalPaymentsLimit()
Long
getOfflinePaymentsPromptThreshold()
Long
getOfflinePaymentsPromptThresholdDefault()
Long
getOfflinePaymentsTotalPaymentsLimit()
Long
getOfflinePaymentsTotalPaymentsLimitDefault()
String
getOrderPrefix()
A prefix that will be applied to order numbers.String
getPedCertificate()
Boolean
getPinDisabled()
Whether this device has PIN prompt disabled.String
getProductName()
String
getSecureId()
List<Reference>
getSecureReports()
String
getSerial()
The device's serial number.Boolean
getShowOfflinePayments()
String
getSimIccid()
The ICCID of the SIM in the device (if present)String
getTerminalId()
The merchant device's terminal Id.Integer
getTerminalPrefix()
boolean
hasAllowStoreAndForward()
Checks whether the 'allowStoreAndForward' field has been set, however the value could be nullboolean
hasBuildNumber()
Checks whether the 'buildNumber' field has been set, however the value could be nullboolean
hasBuildType()
Checks whether the 'buildType' field has been set, however the value could be nullboolean
hasBundleIndicator()
Checks whether the 'bundleIndicator' field has been set, however the value could be nullboolean
hasCpuId()
Checks whether the 'cpuId' field has been set, however the value could be nullboolean
hasDeviceCertificate()
Checks whether the 'deviceCertificate' field has been set, however the value could be nullboolean
hasDeviceTypeName()
Checks whether the 'deviceTypeName' 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
hasImei()
Checks whether the 'imei' field has been set, however the value could be nullboolean
hasImsi()
Checks whether the 'imsi' field has been set, however the value could be nullboolean
hasMaxOfflineDays()
Checks whether the 'maxOfflineDays' field has been set, however the value could be nullboolean
hasMerchant()
Checks whether the 'merchant' field has been set, however the value could be nullboolean
hasModel()
Checks whether the 'model' field has been set, however the value could be nullboolean
hasName()
Checks whether the 'name' field has been set, however the value could be nullboolean
hasOfflinePayments()
Checks whether the 'offlinePayments' field has been set, however the value could be nullboolean
hasOfflinePaymentsAll()
Checks whether the 'offlinePaymentsAll' field has been set, however the value could be nullboolean
hasOfflinePaymentsLimit()
Checks whether the 'offlinePaymentsLimit' field has been set, however the value could be nullboolean
hasOfflinePaymentsLimitDefault()
Checks whether the 'offlinePaymentsLimitDefault' field has been set, however the value could be nullboolean
hasOfflinePaymentsMaxLimit()
Checks whether the 'offlinePaymentsMaxLimit' field has been set, however the value could be nullboolean
hasOfflinePaymentsMaxTotalPaymentsLimit()
Checks whether the 'offlinePaymentsMaxTotalPaymentsLimit' field has been set, however the value could be nullboolean
hasOfflinePaymentsPromptThreshold()
Checks whether the 'offlinePaymentsPromptThreshold' field has been set, however the value could be nullboolean
hasOfflinePaymentsPromptThresholdDefault()
Checks whether the 'offlinePaymentsPromptThresholdDefault' field has been set, however the value could be nullboolean
hasOfflinePaymentsTotalPaymentsLimit()
Checks whether the 'offlinePaymentsTotalPaymentsLimit' field has been set, however the value could be nullboolean
hasOfflinePaymentsTotalPaymentsLimitDefault()
Checks whether the 'offlinePaymentsTotalPaymentsLimitDefault' field has been set, however the value could be nullboolean
hasOrderPrefix()
Checks whether the 'orderPrefix' field has been set, however the value could be nullboolean
hasPedCertificate()
Checks whether the 'pedCertificate' field has been set, however the value could be nullboolean
hasPinDisabled()
Checks whether the 'pinDisabled' field has been set, however the value could be nullboolean
hasProductName()
Checks whether the 'productName' field has been set, however the value could be nullboolean
hasSecureId()
Checks whether the 'secureId' field has been set, however the value could be nullboolean
hasSecureReports()
Checks whether the 'secureReports' field has been set, however the value could be nullboolean
hasSerial()
Checks whether the 'serial' field has been set, however the value could be nullboolean
hasShowOfflinePayments()
Checks whether the 'showOfflinePayments' field has been set, however the value could be nullboolean
hasSimIccid()
Checks whether the 'simIccid' field has been set, however the value could be nullboolean
hasTerminalId()
Checks whether the 'terminalId' field has been set, however the value could be nullboolean
hasTerminalPrefix()
Checks whether the 'terminalPrefix' field has been set, however the value could be nullboolean
isNotEmptySecureReports()
Checks whether the 'secureReports' field is set and is not null and is not emptyboolean
isNotNullAllowStoreAndForward()
Checks whether the 'allowStoreAndForward' field is set and is not nullboolean
isNotNullBuildNumber()
Checks whether the 'buildNumber' field is set and is not nullboolean
isNotNullBuildType()
Checks whether the 'buildType' field is set and is not nullboolean
isNotNullBundleIndicator()
Checks whether the 'bundleIndicator' field is set and is not nullboolean
isNotNullCpuId()
Checks whether the 'cpuId' field is set and is not nullboolean
isNotNullDeviceCertificate()
Checks whether the 'deviceCertificate' field is set and is not nullboolean
isNotNullDeviceTypeName()
Checks whether the 'deviceTypeName' field is set and is not nullboolean
isNotNullId()
Checks whether the 'id' field is set and is not nullboolean
isNotNullImei()
Checks whether the 'imei' field is set and is not nullboolean
isNotNullImsi()
Checks whether the 'imsi' field is set and is not nullboolean
isNotNullMaxOfflineDays()
Checks whether the 'maxOfflineDays' field is set and is not nullboolean
isNotNullMerchant()
Checks whether the 'merchant' field is set and is not nullboolean
isNotNullModel()
Checks whether the 'model' field is set and is not nullboolean
isNotNullName()
Checks whether the 'name' field is set and is not nullboolean
isNotNullOfflinePayments()
Checks whether the 'offlinePayments' field is set and is not nullboolean
isNotNullOfflinePaymentsAll()
Checks whether the 'offlinePaymentsAll' field is set and is not nullboolean
isNotNullOfflinePaymentsLimit()
Checks whether the 'offlinePaymentsLimit' field is set and is not nullboolean
isNotNullOfflinePaymentsLimitDefault()
Checks whether the 'offlinePaymentsLimitDefault' field is set and is not nullboolean
isNotNullOfflinePaymentsMaxLimit()
Checks whether the 'offlinePaymentsMaxLimit' field is set and is not nullboolean
isNotNullOfflinePaymentsMaxTotalPaymentsLimit()
Checks whether the 'offlinePaymentsMaxTotalPaymentsLimit' field is set and is not nullboolean
isNotNullOfflinePaymentsPromptThreshold()
Checks whether the 'offlinePaymentsPromptThreshold' field is set and is not nullboolean
isNotNullOfflinePaymentsPromptThresholdDefault()
Checks whether the 'offlinePaymentsPromptThresholdDefault' field is set and is not nullboolean
isNotNullOfflinePaymentsTotalPaymentsLimit()
Checks whether the 'offlinePaymentsTotalPaymentsLimit' field is set and is not nullboolean
isNotNullOfflinePaymentsTotalPaymentsLimitDefault()
Checks whether the 'offlinePaymentsTotalPaymentsLimitDefault' field is set and is not nullboolean
isNotNullOrderPrefix()
Checks whether the 'orderPrefix' field is set and is not nullboolean
isNotNullPedCertificate()
Checks whether the 'pedCertificate' field is set and is not nullboolean
isNotNullPinDisabled()
Checks whether the 'pinDisabled' field is set and is not nullboolean
isNotNullProductName()
Checks whether the 'productName' field is set and is not nullboolean
isNotNullSecureId()
Checks whether the 'secureId' field is set and is not nullboolean
isNotNullSecureReports()
Checks whether the 'secureReports' field is set and is not nullboolean
isNotNullSerial()
Checks whether the 'serial' field is set and is not nullboolean
isNotNullShowOfflinePayments()
Checks whether the 'showOfflinePayments' field is set and is not nullboolean
isNotNullSimIccid()
Checks whether the 'simIccid' field is set and is not nullboolean
isNotNullTerminalId()
Checks whether the 'terminalId' field is set and is not nullboolean
isNotNullTerminalPrefix()
Checks whether the 'terminalPrefix' field is set and is not nullvoid
mergeChanges(Device 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.Device
setAllowStoreAndForward(Boolean allowStoreAndForward)
Sets the field 'allowStoreAndForward'.Device
setBuildNumber(Long buildNumber)
Sets the field 'buildNumber'.Device
setBuildType(BuildType buildType)
Sets the field 'buildType'.Device
setBundleIndicator(String bundleIndicator)
Sets the field 'bundleIndicator'.Device
setCpuId(String cpuId)
Sets the field 'cpuId'.Device
setDeviceCertificate(String deviceCertificate)
Sets the field 'deviceCertificate'.Device
setDeviceTypeName(String deviceTypeName)
Sets the field 'deviceTypeName'.Device
setId(String id)
Sets the field 'id'.Device
setImei(String imei)
Sets the field 'imei'.Device
setImsi(String imsi)
Sets the field 'imsi'.Device
setMaxOfflineDays(Long maxOfflineDays)
Sets the field 'maxOfflineDays'.Device
setMerchant(Reference merchant)
Sets the field 'merchant'.Device
setModel(String model)
Sets the field 'model'.Device
setName(String name)
Sets the field 'name'.Device
setOfflinePayments(Boolean offlinePayments)
Sets the field 'offlinePayments'.Device
setOfflinePaymentsAll(Boolean offlinePaymentsAll)
Sets the field 'offlinePaymentsAll'.Device
setOfflinePaymentsLimit(Long offlinePaymentsLimit)
Sets the field 'offlinePaymentsLimit'.Device
setOfflinePaymentsLimitDefault(Long offlinePaymentsLimitDefault)
Sets the field 'offlinePaymentsLimitDefault'.Device
setOfflinePaymentsMaxLimit(Long offlinePaymentsMaxLimit)
Sets the field 'offlinePaymentsMaxLimit'.Device
setOfflinePaymentsMaxTotalPaymentsLimit(Long offlinePaymentsMaxTotalPaymentsLimit)
Sets the field 'offlinePaymentsMaxTotalPaymentsLimit'.Device
setOfflinePaymentsPromptThreshold(Long offlinePaymentsPromptThreshold)
Sets the field 'offlinePaymentsPromptThreshold'.Device
setOfflinePaymentsPromptThresholdDefault(Long offlinePaymentsPromptThresholdDefault)
Sets the field 'offlinePaymentsPromptThresholdDefault'.Device
setOfflinePaymentsTotalPaymentsLimit(Long offlinePaymentsTotalPaymentsLimit)
Sets the field 'offlinePaymentsTotalPaymentsLimit'.Device
setOfflinePaymentsTotalPaymentsLimitDefault(Long offlinePaymentsTotalPaymentsLimitDefault)
Sets the field 'offlinePaymentsTotalPaymentsLimitDefault'.Device
setOrderPrefix(String orderPrefix)
Sets the field 'orderPrefix'.Device
setPedCertificate(String pedCertificate)
Sets the field 'pedCertificate'.Device
setPinDisabled(Boolean pinDisabled)
Sets the field 'pinDisabled'.Device
setProductName(String productName)
Sets the field 'productName'.Device
setSecureId(String secureId)
Sets the field 'secureId'.Device
setSecureReports(List<Reference> secureReports)
Sets the field 'secureReports'.Device
setSerial(String serial)
Sets the field 'serial'.Device
setShowOfflinePayments(Boolean showOfflinePayments)
Sets the field 'showOfflinePayments'.Device
setSimIccid(String simIccid)
Sets the field 'simIccid'.Device
setTerminalId(String terminalId)
Sets the field 'terminalId'.Device
setTerminalPrefix(Integer terminalPrefix)
Sets the field 'terminalPrefix'.void
validate()
-
Methods inherited from class com.clover.sdk.GenericParcelable
describeContents, getBundle, toString, writeToParcel
-
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<Device> CREATOR
-
JSON_CREATOR
public static final JSONifiable.Creator<Device> JSON_CREATOR
-
-
Constructor Detail
-
Device
public Device()
Constructs a new empty instance.
-
Device
protected Device(boolean noInit)
Constructs a new empty instance.
-
Device
public Device(String json) throws IllegalArgumentException
Constructs a new instance from the given JSON String.- Throws:
IllegalArgumentException
-
Device
public Device(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.
-
Device
public Device(Device 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
-
getName
public String getName()
Name of the device (if entered)
-
getModel
public String getModel()
-
getMerchant
public Reference getMerchant()
-
getOrderPrefix
public String getOrderPrefix()
A prefix that will be applied to order numbers. This is useful if the merchant and/or customer needs to track which device an order came from.
-
getTerminalId
public String getTerminalId()
The merchant device's terminal Id. FD-IPG sets the merchant_device terminal Id for LATAM devices
-
getTerminalPrefix
public Integer getTerminalPrefix()
-
getSerial
public String getSerial()
The device's serial number.
-
getBuildNumber
public Long getBuildNumber()
-
getSecureId
public String getSecureId()
-
getBuildType
public BuildType getBuildType()
-
getCpuId
public String getCpuId()
-
getImei
public String getImei()
The IMEI of the device
-
getImsi
public String getImsi()
The IMSI of the SIM in the device (if present)
-
getSimIccid
public String getSimIccid()
The ICCID of the SIM in the device (if present)
-
getDeviceCertificate
public String getDeviceCertificate()
-
getPedCertificate
public String getPedCertificate()
-
getDeviceTypeName
public String getDeviceTypeName()
-
getProductName
public String getProductName()
-
getPinDisabled
public Boolean getPinDisabled()
Whether this device has PIN prompt disabled.
-
getOfflinePayments
public Boolean getOfflinePayments()
-
getOfflinePaymentsAll
public Boolean getOfflinePaymentsAll()
-
getOfflinePaymentsLimit
public Long getOfflinePaymentsLimit()
-
getOfflinePaymentsPromptThreshold
public Long getOfflinePaymentsPromptThreshold()
-
getOfflinePaymentsTotalPaymentsLimit
public Long getOfflinePaymentsTotalPaymentsLimit()
-
getOfflinePaymentsLimitDefault
public Long getOfflinePaymentsLimitDefault()
-
getOfflinePaymentsPromptThresholdDefault
public Long getOfflinePaymentsPromptThresholdDefault()
-
getOfflinePaymentsTotalPaymentsLimitDefault
public Long getOfflinePaymentsTotalPaymentsLimitDefault()
-
getOfflinePaymentsMaxLimit
public Long getOfflinePaymentsMaxLimit()
-
getOfflinePaymentsMaxTotalPaymentsLimit
public Long getOfflinePaymentsMaxTotalPaymentsLimit()
-
getShowOfflinePayments
public Boolean getShowOfflinePayments()
-
getMaxOfflineDays
public Long getMaxOfflineDays()
-
getAllowStoreAndForward
public Boolean getAllowStoreAndForward()
-
getBundleIndicator
public String getBundleIndicator()
-
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
-
isNotNullName
public boolean isNotNullName()
Checks whether the 'name' field is set and is not null
-
isNotNullModel
public boolean isNotNullModel()
Checks whether the 'model' field is set and is not null
-
isNotNullMerchant
public boolean isNotNullMerchant()
Checks whether the 'merchant' field is set and is not null
-
isNotNullOrderPrefix
public boolean isNotNullOrderPrefix()
Checks whether the 'orderPrefix' field is set and is not null
-
isNotNullTerminalId
public boolean isNotNullTerminalId()
Checks whether the 'terminalId' field is set and is not null
-
isNotNullTerminalPrefix
public boolean isNotNullTerminalPrefix()
Checks whether the 'terminalPrefix' field is set and is not null
-
isNotNullSerial
public boolean isNotNullSerial()
Checks whether the 'serial' field is set and is not null
-
isNotNullBuildNumber
public boolean isNotNullBuildNumber()
Checks whether the 'buildNumber' field is set and is not null
-
isNotNullSecureId
public boolean isNotNullSecureId()
Checks whether the 'secureId' field is set and is not null
-
isNotNullBuildType
public boolean isNotNullBuildType()
Checks whether the 'buildType' field is set and is not null
-
isNotNullCpuId
public boolean isNotNullCpuId()
Checks whether the 'cpuId' field is set and is not null
-
isNotNullImei
public boolean isNotNullImei()
Checks whether the 'imei' field is set and is not null
-
isNotNullImsi
public boolean isNotNullImsi()
Checks whether the 'imsi' field is set and is not null
-
isNotNullSimIccid
public boolean isNotNullSimIccid()
Checks whether the 'simIccid' field is set and is not null
-
isNotNullDeviceCertificate
public boolean isNotNullDeviceCertificate()
Checks whether the 'deviceCertificate' field is set and is not null
-
isNotNullPedCertificate
public boolean isNotNullPedCertificate()
Checks whether the 'pedCertificate' field is set and is not null
-
isNotNullDeviceTypeName
public boolean isNotNullDeviceTypeName()
Checks whether the 'deviceTypeName' field is set and is not null
-
isNotNullProductName
public boolean isNotNullProductName()
Checks whether the 'productName' field is set and is not null
-
isNotNullPinDisabled
public boolean isNotNullPinDisabled()
Checks whether the 'pinDisabled' field is set and is not null
-
isNotNullOfflinePayments
public boolean isNotNullOfflinePayments()
Checks whether the 'offlinePayments' field is set and is not null
-
isNotNullOfflinePaymentsAll
public boolean isNotNullOfflinePaymentsAll()
Checks whether the 'offlinePaymentsAll' field is set and is not null
-
isNotNullOfflinePaymentsLimit
public boolean isNotNullOfflinePaymentsLimit()
Checks whether the 'offlinePaymentsLimit' field is set and is not null
-
isNotNullOfflinePaymentsPromptThreshold
public boolean isNotNullOfflinePaymentsPromptThreshold()
Checks whether the 'offlinePaymentsPromptThreshold' field is set and is not null
-
isNotNullOfflinePaymentsTotalPaymentsLimit
public boolean isNotNullOfflinePaymentsTotalPaymentsLimit()
Checks whether the 'offlinePaymentsTotalPaymentsLimit' field is set and is not null
-
isNotNullOfflinePaymentsLimitDefault
public boolean isNotNullOfflinePaymentsLimitDefault()
Checks whether the 'offlinePaymentsLimitDefault' field is set and is not null
-
isNotNullOfflinePaymentsPromptThresholdDefault
public boolean isNotNullOfflinePaymentsPromptThresholdDefault()
Checks whether the 'offlinePaymentsPromptThresholdDefault' field is set and is not null
-
isNotNullOfflinePaymentsTotalPaymentsLimitDefault
public boolean isNotNullOfflinePaymentsTotalPaymentsLimitDefault()
Checks whether the 'offlinePaymentsTotalPaymentsLimitDefault' field is set and is not null
-
isNotNullOfflinePaymentsMaxLimit
public boolean isNotNullOfflinePaymentsMaxLimit()
Checks whether the 'offlinePaymentsMaxLimit' field is set and is not null
-
isNotNullOfflinePaymentsMaxTotalPaymentsLimit
public boolean isNotNullOfflinePaymentsMaxTotalPaymentsLimit()
Checks whether the 'offlinePaymentsMaxTotalPaymentsLimit' field is set and is not null
-
isNotNullShowOfflinePayments
public boolean isNotNullShowOfflinePayments()
Checks whether the 'showOfflinePayments' field is set and is not null
-
isNotNullMaxOfflineDays
public boolean isNotNullMaxOfflineDays()
Checks whether the 'maxOfflineDays' field is set and is not null
-
isNotNullAllowStoreAndForward
public boolean isNotNullAllowStoreAndForward()
Checks whether the 'allowStoreAndForward' field is set and is not null
-
isNotNullSecureReports
public boolean isNotNullSecureReports()
Checks whether the 'secureReports' field is set and is not null
-
isNotEmptySecureReports
public boolean isNotEmptySecureReports()
Checks whether the 'secureReports' field is set and is not null and is not empty
-
isNotNullBundleIndicator
public boolean isNotNullBundleIndicator()
Checks whether the 'bundleIndicator' 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
-
hasName
public boolean hasName()
Checks whether the 'name' field has been set, however the value could be null
-
hasModel
public boolean hasModel()
Checks whether the 'model' field has been set, however the value could be null
-
hasMerchant
public boolean hasMerchant()
Checks whether the 'merchant' field has been set, however the value could be null
-
hasOrderPrefix
public boolean hasOrderPrefix()
Checks whether the 'orderPrefix' field has been set, however the value could be null
-
hasTerminalId
public boolean hasTerminalId()
Checks whether the 'terminalId' field has been set, however the value could be null
-
hasTerminalPrefix
public boolean hasTerminalPrefix()
Checks whether the 'terminalPrefix' field has been set, however the value could be null
-
hasSerial
public boolean hasSerial()
Checks whether the 'serial' field has been set, however the value could be null
-
hasBuildNumber
public boolean hasBuildNumber()
Checks whether the 'buildNumber' field has been set, however the value could be null
-
hasSecureId
public boolean hasSecureId()
Checks whether the 'secureId' field has been set, however the value could be null
-
hasBuildType
public boolean hasBuildType()
Checks whether the 'buildType' field has been set, however the value could be null
-
hasCpuId
public boolean hasCpuId()
Checks whether the 'cpuId' field has been set, however the value could be null
-
hasImei
public boolean hasImei()
Checks whether the 'imei' field has been set, however the value could be null
-
hasImsi
public boolean hasImsi()
Checks whether the 'imsi' field has been set, however the value could be null
-
hasSimIccid
public boolean hasSimIccid()
Checks whether the 'simIccid' field has been set, however the value could be null
-
hasDeviceCertificate
public boolean hasDeviceCertificate()
Checks whether the 'deviceCertificate' field has been set, however the value could be null
-
hasPedCertificate
public boolean hasPedCertificate()
Checks whether the 'pedCertificate' field has been set, however the value could be null
-
hasDeviceTypeName
public boolean hasDeviceTypeName()
Checks whether the 'deviceTypeName' field has been set, however the value could be null
-
hasProductName
public boolean hasProductName()
Checks whether the 'productName' field has been set, however the value could be null
-
hasPinDisabled
public boolean hasPinDisabled()
Checks whether the 'pinDisabled' field has been set, however the value could be null
-
hasOfflinePayments
public boolean hasOfflinePayments()
Checks whether the 'offlinePayments' field has been set, however the value could be null
-
hasOfflinePaymentsAll
public boolean hasOfflinePaymentsAll()
Checks whether the 'offlinePaymentsAll' field has been set, however the value could be null
-
hasOfflinePaymentsLimit
public boolean hasOfflinePaymentsLimit()
Checks whether the 'offlinePaymentsLimit' field has been set, however the value could be null
-
hasOfflinePaymentsPromptThreshold
public boolean hasOfflinePaymentsPromptThreshold()
Checks whether the 'offlinePaymentsPromptThreshold' field has been set, however the value could be null
-
hasOfflinePaymentsTotalPaymentsLimit
public boolean hasOfflinePaymentsTotalPaymentsLimit()
Checks whether the 'offlinePaymentsTotalPaymentsLimit' field has been set, however the value could be null
-
hasOfflinePaymentsLimitDefault
public boolean hasOfflinePaymentsLimitDefault()
Checks whether the 'offlinePaymentsLimitDefault' field has been set, however the value could be null
-
hasOfflinePaymentsPromptThresholdDefault
public boolean hasOfflinePaymentsPromptThresholdDefault()
Checks whether the 'offlinePaymentsPromptThresholdDefault' field has been set, however the value could be null
-
hasOfflinePaymentsTotalPaymentsLimitDefault
public boolean hasOfflinePaymentsTotalPaymentsLimitDefault()
Checks whether the 'offlinePaymentsTotalPaymentsLimitDefault' field has been set, however the value could be null
-
hasOfflinePaymentsMaxLimit
public boolean hasOfflinePaymentsMaxLimit()
Checks whether the 'offlinePaymentsMaxLimit' field has been set, however the value could be null
-
hasOfflinePaymentsMaxTotalPaymentsLimit
public boolean hasOfflinePaymentsMaxTotalPaymentsLimit()
Checks whether the 'offlinePaymentsMaxTotalPaymentsLimit' field has been set, however the value could be null
-
hasShowOfflinePayments
public boolean hasShowOfflinePayments()
Checks whether the 'showOfflinePayments' field has been set, however the value could be null
-
hasMaxOfflineDays
public boolean hasMaxOfflineDays()
Checks whether the 'maxOfflineDays' field has been set, however the value could be null
-
hasAllowStoreAndForward
public boolean hasAllowStoreAndForward()
Checks whether the 'allowStoreAndForward' field has been set, however the value could be null
-
hasSecureReports
public boolean hasSecureReports()
Checks whether the 'secureReports' 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
-
setMerchant
public Device setMerchant(Reference merchant)
Sets the field 'merchant'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setTerminalPrefix
public Device setTerminalPrefix(Integer terminalPrefix)
Sets the field 'terminalPrefix'.
-
setDeviceCertificate
public Device setDeviceCertificate(String deviceCertificate)
Sets the field 'deviceCertificate'.
-
setPedCertificate
public Device setPedCertificate(String pedCertificate)
Sets the field 'pedCertificate'.
-
setDeviceTypeName
public Device setDeviceTypeName(String deviceTypeName)
Sets the field 'deviceTypeName'.
-
setOfflinePayments
public Device setOfflinePayments(Boolean offlinePayments)
Sets the field 'offlinePayments'.
-
setOfflinePaymentsAll
public Device setOfflinePaymentsAll(Boolean offlinePaymentsAll)
Sets the field 'offlinePaymentsAll'.
-
setOfflinePaymentsLimit
public Device setOfflinePaymentsLimit(Long offlinePaymentsLimit)
Sets the field 'offlinePaymentsLimit'.
-
setOfflinePaymentsPromptThreshold
public Device setOfflinePaymentsPromptThreshold(Long offlinePaymentsPromptThreshold)
Sets the field 'offlinePaymentsPromptThreshold'.
-
setOfflinePaymentsTotalPaymentsLimit
public Device setOfflinePaymentsTotalPaymentsLimit(Long offlinePaymentsTotalPaymentsLimit)
Sets the field 'offlinePaymentsTotalPaymentsLimit'.
-
setOfflinePaymentsLimitDefault
public Device setOfflinePaymentsLimitDefault(Long offlinePaymentsLimitDefault)
Sets the field 'offlinePaymentsLimitDefault'.
-
setOfflinePaymentsPromptThresholdDefault
public Device setOfflinePaymentsPromptThresholdDefault(Long offlinePaymentsPromptThresholdDefault)
Sets the field 'offlinePaymentsPromptThresholdDefault'.
-
setOfflinePaymentsTotalPaymentsLimitDefault
public Device setOfflinePaymentsTotalPaymentsLimitDefault(Long offlinePaymentsTotalPaymentsLimitDefault)
Sets the field 'offlinePaymentsTotalPaymentsLimitDefault'.
-
setOfflinePaymentsMaxLimit
public Device setOfflinePaymentsMaxLimit(Long offlinePaymentsMaxLimit)
Sets the field 'offlinePaymentsMaxLimit'.
-
setOfflinePaymentsMaxTotalPaymentsLimit
public Device setOfflinePaymentsMaxTotalPaymentsLimit(Long offlinePaymentsMaxTotalPaymentsLimit)
Sets the field 'offlinePaymentsMaxTotalPaymentsLimit'.
-
setShowOfflinePayments
public Device setShowOfflinePayments(Boolean showOfflinePayments)
Sets the field 'showOfflinePayments'.
-
setMaxOfflineDays
public Device setMaxOfflineDays(Long maxOfflineDays)
Sets the field 'maxOfflineDays'.
-
setAllowStoreAndForward
public Device setAllowStoreAndForward(Boolean allowStoreAndForward)
Sets the field 'allowStoreAndForward'.
-
setSecureReports
public Device setSecureReports(List<Reference> secureReports)
Sets the field 'secureReports'. Nulls in the given List are skipped. List parameter is copied, so it will not reflect any changes, but objects inside it will.
-
setBundleIndicator
public Device setBundleIndicator(String bundleIndicator)
Sets the field 'bundleIndicator'.
-
clearId
public void clearId()
Clears the 'id' field, the 'has' method for this field will now return false
-
clearName
public void clearName()
Clears the 'name' field, the 'has' method for this field will now return false
-
clearModel
public void clearModel()
Clears the 'model' field, the 'has' method for this field will now return false
-
clearMerchant
public void clearMerchant()
Clears the 'merchant' field, the 'has' method for this field will now return false
-
clearOrderPrefix
public void clearOrderPrefix()
Clears the 'orderPrefix' field, the 'has' method for this field will now return false
-
clearTerminalId
public void clearTerminalId()
Clears the 'terminalId' field, the 'has' method for this field will now return false
-
clearTerminalPrefix
public void clearTerminalPrefix()
Clears the 'terminalPrefix' field, the 'has' method for this field will now return false
-
clearSerial
public void clearSerial()
Clears the 'serial' field, the 'has' method for this field will now return false
-
clearBuildNumber
public void clearBuildNumber()
Clears the 'buildNumber' field, the 'has' method for this field will now return false
-
clearSecureId
public void clearSecureId()
Clears the 'secureId' field, the 'has' method for this field will now return false
-
clearBuildType
public void clearBuildType()
Clears the 'buildType' field, the 'has' method for this field will now return false
-
clearCpuId
public void clearCpuId()
Clears the 'cpuId' field, the 'has' method for this field will now return false
-
clearImei
public void clearImei()
Clears the 'imei' field, the 'has' method for this field will now return false
-
clearImsi
public void clearImsi()
Clears the 'imsi' field, the 'has' method for this field will now return false
-
clearSimIccid
public void clearSimIccid()
Clears the 'simIccid' field, the 'has' method for this field will now return false
-
clearDeviceCertificate
public void clearDeviceCertificate()
Clears the 'deviceCertificate' field, the 'has' method for this field will now return false
-
clearPedCertificate
public void clearPedCertificate()
Clears the 'pedCertificate' field, the 'has' method for this field will now return false
-
clearDeviceTypeName
public void clearDeviceTypeName()
Clears the 'deviceTypeName' field, the 'has' method for this field will now return false
-
clearProductName
public void clearProductName()
Clears the 'productName' field, the 'has' method for this field will now return false
-
clearPinDisabled
public void clearPinDisabled()
Clears the 'pinDisabled' field, the 'has' method for this field will now return false
-
clearOfflinePayments
public void clearOfflinePayments()
Clears the 'offlinePayments' field, the 'has' method for this field will now return false
-
clearOfflinePaymentsAll
public void clearOfflinePaymentsAll()
Clears the 'offlinePaymentsAll' field, the 'has' method for this field will now return false
-
clearOfflinePaymentsLimit
public void clearOfflinePaymentsLimit()
Clears the 'offlinePaymentsLimit' field, the 'has' method for this field will now return false
-
clearOfflinePaymentsPromptThreshold
public void clearOfflinePaymentsPromptThreshold()
Clears the 'offlinePaymentsPromptThreshold' field, the 'has' method for this field will now return false
-
clearOfflinePaymentsTotalPaymentsLimit
public void clearOfflinePaymentsTotalPaymentsLimit()
Clears the 'offlinePaymentsTotalPaymentsLimit' field, the 'has' method for this field will now return false
-
clearOfflinePaymentsLimitDefault
public void clearOfflinePaymentsLimitDefault()
Clears the 'offlinePaymentsLimitDefault' field, the 'has' method for this field will now return false
-
clearOfflinePaymentsPromptThresholdDefault
public void clearOfflinePaymentsPromptThresholdDefault()
Clears the 'offlinePaymentsPromptThresholdDefault' field, the 'has' method for this field will now return false
-
clearOfflinePaymentsTotalPaymentsLimitDefault
public void clearOfflinePaymentsTotalPaymentsLimitDefault()
Clears the 'offlinePaymentsTotalPaymentsLimitDefault' field, the 'has' method for this field will now return false
-
clearOfflinePaymentsMaxLimit
public void clearOfflinePaymentsMaxLimit()
Clears the 'offlinePaymentsMaxLimit' field, the 'has' method for this field will now return false
-
clearOfflinePaymentsMaxTotalPaymentsLimit
public void clearOfflinePaymentsMaxTotalPaymentsLimit()
Clears the 'offlinePaymentsMaxTotalPaymentsLimit' field, the 'has' method for this field will now return false
-
clearShowOfflinePayments
public void clearShowOfflinePayments()
Clears the 'showOfflinePayments' field, the 'has' method for this field will now return false
-
clearMaxOfflineDays
public void clearMaxOfflineDays()
Clears the 'maxOfflineDays' field, the 'has' method for this field will now return false
-
clearAllowStoreAndForward
public void clearAllowStoreAndForward()
Clears the 'allowStoreAndForward' field, the 'has' method for this field will now return false
-
clearSecureReports
public void clearSecureReports()
Clears the 'secureReports' 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
-
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 Device copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.
-
mergeChanges
public void mergeChanges(Device src)
Copy all the changed fields from the given source to this instance.
-
-