Constructors

Link copied to clipboard
public void Device()
Constructs a new empty instance.
public void Device(String json)
Constructs a new instance from the given JSON String.
public void 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.
public void Device(Device src)
Constructs a new instance that is a deep copy of the source instance.

Types

Link copied to clipboard
public interface Constraints

Properties

Link copied to clipboard
public final static int CONTENTS_FILE_DESCRIPTOR
Link copied to clipboard
public final static Parcelable.Creator<Device> CREATOR
Link copied to clipboard
Link copied to clipboard
public final static int PARCELABLE_WRITE_RETURN_VALUE

Functions

Link copied to clipboard
Clears the 'allowStoreAndForward' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearBuildNumber()
Clears the 'buildNumber' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearBuildType()
Clears the 'buildType' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearBundleIndicator()
Clears the 'bundleIndicator' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearCpuId()
Clears the 'cpuId' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearDeviceCertificate()
Clears the 'deviceCertificate' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearDeviceTypeName()
Clears the 'deviceTypeName' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearId()
Clears the 'id' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearImei()
Clears the 'imei' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearImsi()
Clears the 'imsi' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearMaxOfflineDays()
Clears the 'maxOfflineDays' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearMerchant()
Clears the 'merchant' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearModel()
Clears the 'model' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearName()
Clears the 'name' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearOfflinePayments()
Clears the 'offlinePayments' field, the 'has' method for this field will now return false
Link copied to clipboard
Clears the 'offlinePaymentsAll' field, the 'has' method for this field will now return false
Link copied to clipboard
Clears the 'offlinePaymentsLimit' field, the 'has' method for this field will now return false
Link copied to clipboard
Clears the 'offlinePaymentsLimitDefault' field, the 'has' method for this field will now return false
Link copied to clipboard
Clears the 'offlinePaymentsMaxLimit' field, the 'has' method for this field will now return false
Clears the 'offlinePaymentsMaxTotalPaymentsLimit' field, the 'has' method for this field will now return false
Link copied to clipboard
Clears the 'offlinePaymentsPromptThreshold' field, the 'has' method for this field will now return false
Clears the 'offlinePaymentsPromptThresholdDefault' field, the 'has' method for this field will now return false
Link copied to clipboard
Clears the 'offlinePaymentsTotalPaymentsLimit' field, the 'has' method for this field will now return false
Clears the 'offlinePaymentsTotalPaymentsLimitDefault' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearOrderPrefix()
Clears the 'orderPrefix' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearPedCertificate()
Clears the 'pedCertificate' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearPinDisabled()
Clears the 'pinDisabled' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearProductName()
Clears the 'productName' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearSecureId()
Clears the 'secureId' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearSecureReports()
Clears the 'secureReports' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearSerial()
Clears the 'serial' field, the 'has' method for this field will now return false
Link copied to clipboard
Clears the 'showOfflinePayments' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearSimIccid()
Clears the 'simIccid' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearTerminalId()
Clears the 'terminalId' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearTerminalPrefix()
Clears the 'terminalPrefix' field, the 'has' method for this field will now return false
Link copied to clipboard
public boolean containsChanges()
Returns true if this instance has any changes.
Link copied to clipboard
Create a copy of this instance that contains only fields that were set after the constructor was called.
Link copied to clipboard
public abstract int describeContents()
public final int describeContents()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Bundle getBundle()
Gets a Bundle which can be used to get and set data attached to this instance.
Link copied to clipboard
Link copied to clipboard
public String getCpuId()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public String getId()
Unique identifier
Link copied to clipboard
public String getImei()
The IMEI of the device
Link copied to clipboard
public String getImsi()
The IMSI of the SIM in the device (if present)
Link copied to clipboard
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.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public String getModel()
Link copied to clipboard
public String getName()
Name of the device (if entered)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A prefix that will be applied to order numbers.
Link copied to clipboard
Link copied to clipboard
Whether this device has PIN prompt disabled.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public String getSerial()
The device's serial number.
Link copied to clipboard
Link copied to clipboard
The ICCID of the SIM in the device (if present)
Link copied to clipboard
The merchant device's terminal Id.
Link copied to clipboard
Link copied to clipboard
public boolean hasAllowStoreAndForward()
Checks whether the 'allowStoreAndForward' field has been set, however the value could be null
Link copied to clipboard
public boolean hasBuildNumber()
Checks whether the 'buildNumber' field has been set, however the value could be null
Link copied to clipboard
public boolean hasBuildType()
Checks whether the 'buildType' field has been set, however the value could be null
Link copied to clipboard
public boolean hasBundleIndicator()
Checks whether the 'bundleIndicator' field has been set, however the value could be null
Link copied to clipboard
public boolean hasCpuId()
Checks whether the 'cpuId' field has been set, however the value could be null
Link copied to clipboard
public boolean hasDeviceCertificate()
Checks whether the 'deviceCertificate' field has been set, however the value could be null
Link copied to clipboard
public boolean hasDeviceTypeName()
Checks whether the 'deviceTypeName' field has been set, however the value could be null
Link copied to clipboard
public boolean hasId()
Checks whether the 'id' field has been set, however the value could be null
Link copied to clipboard
public boolean hasImei()
Checks whether the 'imei' field has been set, however the value could be null
Link copied to clipboard
public boolean hasImsi()
Checks whether the 'imsi' field has been set, however the value could be null
Link copied to clipboard
public boolean hasMaxOfflineDays()
Checks whether the 'maxOfflineDays' field has been set, however the value could be null
Link copied to clipboard
public boolean hasMerchant()
Checks whether the 'merchant' field has been set, however the value could be null
Link copied to clipboard
public boolean hasModel()
Checks whether the 'model' field has been set, however the value could be null
Link copied to clipboard
public boolean hasName()
Checks whether the 'name' field has been set, however the value could be null
Link copied to clipboard
public boolean hasOfflinePayments()
Checks whether the 'offlinePayments' field has been set, however the value could be null
Link copied to clipboard
public boolean hasOfflinePaymentsAll()
Checks whether the 'offlinePaymentsAll' field has been set, however the value could be null
Link copied to clipboard
public boolean hasOfflinePaymentsLimit()
Checks whether the 'offlinePaymentsLimit' field has been set, however the value could be null
Link copied to clipboard
Checks whether the 'offlinePaymentsLimitDefault' field has been set, however the value could be null
Link copied to clipboard
public boolean hasOfflinePaymentsMaxLimit()
Checks whether the 'offlinePaymentsMaxLimit' field has been set, however the value could be null
Link copied to clipboard
Checks whether the 'offlinePaymentsMaxTotalPaymentsLimit' field has been set, however the value could be null
Link copied to clipboard
Checks whether the 'offlinePaymentsPromptThreshold' field has been set, however the value could be null
Link copied to clipboard
Checks whether the 'offlinePaymentsPromptThresholdDefault' field has been set, however the value could be null
Link copied to clipboard
Checks whether the 'offlinePaymentsTotalPaymentsLimit' field has been set, however the value could be null
Checks whether the 'offlinePaymentsTotalPaymentsLimitDefault' field has been set, however the value could be null
Link copied to clipboard
public boolean hasOrderPrefix()
Checks whether the 'orderPrefix' field has been set, however the value could be null
Link copied to clipboard
public boolean hasPedCertificate()
Checks whether the 'pedCertificate' field has been set, however the value could be null
Link copied to clipboard
public boolean hasPinDisabled()
Checks whether the 'pinDisabled' field has been set, however the value could be null
Link copied to clipboard
public boolean hasProductName()
Checks whether the 'productName' field has been set, however the value could be null
Link copied to clipboard
public boolean hasSecureId()
Checks whether the 'secureId' field has been set, however the value could be null
Link copied to clipboard
public boolean hasSecureReports()
Checks whether the 'secureReports' field has been set, however the value could be null
Link copied to clipboard
public boolean hasSerial()
Checks whether the 'serial' field has been set, however the value could be null
Link copied to clipboard
public boolean hasShowOfflinePayments()
Checks whether the 'showOfflinePayments' field has been set, however the value could be null
Link copied to clipboard
public boolean hasSimIccid()
Checks whether the 'simIccid' field has been set, however the value could be null
Link copied to clipboard
public boolean hasTerminalId()
Checks whether the 'terminalId' field has been set, however the value could be null
Link copied to clipboard
public boolean hasTerminalPrefix()
Checks whether the 'terminalPrefix' field has been set, however the value could be null
Link copied to clipboard
public boolean isNotEmptySecureReports()
Checks whether the 'secureReports' field is set and is not null and is not empty
Link copied to clipboard
Checks whether the 'allowStoreAndForward' field is set and is not null
Link copied to clipboard
public boolean isNotNullBuildNumber()
Checks whether the 'buildNumber' field is set and is not null
Link copied to clipboard
public boolean isNotNullBuildType()
Checks whether the 'buildType' field is set and is not null
Link copied to clipboard
public boolean isNotNullBundleIndicator()
Checks whether the 'bundleIndicator' field is set and is not null
Link copied to clipboard
public boolean isNotNullCpuId()
Checks whether the 'cpuId' field is set and is not null
Link copied to clipboard
public boolean isNotNullDeviceCertificate()
Checks whether the 'deviceCertificate' field is set and is not null
Link copied to clipboard
public boolean isNotNullDeviceTypeName()
Checks whether the 'deviceTypeName' field is set and is not null
Link copied to clipboard
public boolean isNotNullId()
Checks whether the 'id' field is set and is not null
Link copied to clipboard
public boolean isNotNullImei()
Checks whether the 'imei' field is set and is not null
Link copied to clipboard
public boolean isNotNullImsi()
Checks whether the 'imsi' field is set and is not null
Link copied to clipboard
public boolean isNotNullMaxOfflineDays()
Checks whether the 'maxOfflineDays' field is set and is not null
Link copied to clipboard
public boolean isNotNullMerchant()
Checks whether the 'merchant' field is set and is not null
Link copied to clipboard
public boolean isNotNullModel()
Checks whether the 'model' field is set and is not null
Link copied to clipboard
public boolean isNotNullName()
Checks whether the 'name' field is set and is not null
Link copied to clipboard
public boolean isNotNullOfflinePayments()
Checks whether the 'offlinePayments' field is set and is not null
Link copied to clipboard
public boolean isNotNullOfflinePaymentsAll()
Checks whether the 'offlinePaymentsAll' field is set and is not null
Link copied to clipboard
Checks whether the 'offlinePaymentsLimit' field is set and is not null
Link copied to clipboard
Checks whether the 'offlinePaymentsLimitDefault' field is set and is not null
Link copied to clipboard
Checks whether the 'offlinePaymentsMaxLimit' field is set and is not null
Checks whether the 'offlinePaymentsMaxTotalPaymentsLimit' field is set and is not null
Link copied to clipboard
Checks whether the 'offlinePaymentsPromptThreshold' field is set and is not null
Checks whether the 'offlinePaymentsPromptThresholdDefault' field is set and is not null
Checks whether the 'offlinePaymentsTotalPaymentsLimit' field is set and is not null
Checks whether the 'offlinePaymentsTotalPaymentsLimitDefault' field is set and is not null
Link copied to clipboard
public boolean isNotNullOrderPrefix()
Checks whether the 'orderPrefix' field is set and is not null
Link copied to clipboard
public boolean isNotNullPedCertificate()
Checks whether the 'pedCertificate' field is set and is not null
Link copied to clipboard
public boolean isNotNullPinDisabled()
Checks whether the 'pinDisabled' field is set and is not null
Link copied to clipboard
public boolean isNotNullProductName()
Checks whether the 'productName' field is set and is not null
Link copied to clipboard
public boolean isNotNullSecureId()
Checks whether the 'secureId' field is set and is not null
Link copied to clipboard
public boolean isNotNullSecureReports()
Checks whether the 'secureReports' field is set and is not null
Link copied to clipboard
public boolean isNotNullSerial()
Checks whether the 'serial' field is set and is not null
Link copied to clipboard
Checks whether the 'showOfflinePayments' field is set and is not null
Link copied to clipboard
public boolean isNotNullSimIccid()
Checks whether the 'simIccid' field is set and is not null
Link copied to clipboard
public boolean isNotNullTerminalId()
Checks whether the 'terminalId' field is set and is not null
Link copied to clipboard
public boolean isNotNullTerminalPrefix()
Checks whether the 'terminalPrefix' field is set and is not null
Link copied to clipboard
public void mergeChanges(Device src)
Copy all the changed fields from the given source to this instance.
Link copied to clipboard
public void resetChangeLog()
Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.
Link copied to clipboard
public Device setAllowStoreAndForward(Boolean allowStoreAndForward)
Sets the field 'allowStoreAndForward'.
Link copied to clipboard
public Device setBuildNumber(Long buildNumber)
Sets the field 'buildNumber'.
Link copied to clipboard
public Device setBuildType(BuildType buildType)
Sets the field 'buildType'.
Link copied to clipboard
public Device setBundleIndicator(String bundleIndicator)
Sets the field 'bundleIndicator'.
Link copied to clipboard
public Device setCpuId(String cpuId)
Sets the field 'cpuId'.
Link copied to clipboard
public Device setDeviceCertificate(String deviceCertificate)
Sets the field 'deviceCertificate'.
Link copied to clipboard
public Device setDeviceTypeName(String deviceTypeName)
Sets the field 'deviceTypeName'.
Link copied to clipboard
public Device setId(String id)
Sets the field 'id'.
Link copied to clipboard
public Device setImei(String imei)
Sets the field 'imei'.
Link copied to clipboard
public Device setImsi(String imsi)
Sets the field 'imsi'.
Link copied to clipboard
public Device setMaxOfflineDays(Long maxOfflineDays)
Sets the field 'maxOfflineDays'.
Link copied to clipboard
public Device setMerchant(Reference merchant)
Sets the field 'merchant'.
Link copied to clipboard
public Device setModel(String model)
Sets the field 'model'.
Link copied to clipboard
public Device setName(String name)
Sets the field 'name'.
Link copied to clipboard
public Device setOfflinePayments(Boolean offlinePayments)
Sets the field 'offlinePayments'.
Link copied to clipboard
public Device setOfflinePaymentsAll(Boolean offlinePaymentsAll)
Sets the field 'offlinePaymentsAll'.
Link copied to clipboard
public Device setOfflinePaymentsLimit(Long offlinePaymentsLimit)
Sets the field 'offlinePaymentsLimit'.
Link copied to clipboard
public Device setOfflinePaymentsLimitDefault(Long offlinePaymentsLimitDefault)
Sets the field 'offlinePaymentsLimitDefault'.
Link copied to clipboard
public Device setOfflinePaymentsMaxLimit(Long offlinePaymentsMaxLimit)
Sets the field 'offlinePaymentsMaxLimit'.
Link copied to clipboard
public Device setOfflinePaymentsMaxTotalPaymentsLimit(Long offlinePaymentsMaxTotalPaymentsLimit)
Sets the field 'offlinePaymentsMaxTotalPaymentsLimit'.
Link copied to clipboard
public Device setOfflinePaymentsPromptThreshold(Long offlinePaymentsPromptThreshold)
Sets the field 'offlinePaymentsPromptThreshold'.
Link copied to clipboard
public Device setOfflinePaymentsPromptThresholdDefault(Long offlinePaymentsPromptThresholdDefault)
Sets the field 'offlinePaymentsPromptThresholdDefault'.
Link copied to clipboard
public Device setOfflinePaymentsTotalPaymentsLimit(Long offlinePaymentsTotalPaymentsLimit)
Sets the field 'offlinePaymentsTotalPaymentsLimit'.
public Device setOfflinePaymentsTotalPaymentsLimitDefault(Long offlinePaymentsTotalPaymentsLimitDefault)
Sets the field 'offlinePaymentsTotalPaymentsLimitDefault'.
Link copied to clipboard
public Device setOrderPrefix(String orderPrefix)
Sets the field 'orderPrefix'.
Link copied to clipboard
public Device setPedCertificate(String pedCertificate)
Sets the field 'pedCertificate'.
Link copied to clipboard
public Device setPinDisabled(Boolean pinDisabled)
Sets the field 'pinDisabled'.
Link copied to clipboard
public Device setProductName(String productName)
Sets the field 'productName'.
Link copied to clipboard
public Device setSecureId(String secureId)
Sets the field 'secureId'.
Link copied to clipboard
public Device setSecureReports(List<Reference> secureReports)
Sets the field 'secureReports'.
Link copied to clipboard
public Device setSerial(String serial)
Sets the field 'serial'.
Link copied to clipboard
public Device setShowOfflinePayments(Boolean showOfflinePayments)
Sets the field 'showOfflinePayments'.
Link copied to clipboard
public Device setSimIccid(String simIccid)
Sets the field 'simIccid'.
Link copied to clipboard
public Device setTerminalId(String terminalId)
Sets the field 'terminalId'.
Link copied to clipboard
public Device setTerminalPrefix(Integer terminalPrefix)
Sets the field 'terminalPrefix'.
Link copied to clipboard
public final String toString()
Link copied to clipboard
public void validate()
Link copied to clipboard
public abstract void writeToParcel(Parcel p, int p1)
public final void writeToParcel(Parcel dest, int flags)