Class MerchantDeviceBoarding

    • Constructor Detail

      • MerchantDeviceBoarding

        public MerchantDeviceBoarding()
        Constructs a new empty instance.
      • MerchantDeviceBoarding

        protected MerchantDeviceBoarding​(boolean noInit)
        Constructs a new empty instance.
      • 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
      • 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 interface JSONifiable
      • 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.
      • setTransArmorIndicator

        public MerchantDeviceBoarding setTransArmorIndicator​(String transArmorIndicator)
        Sets the field 'transArmorIndicator'.
      • 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.