Class DevicePriceInfo

    • Constructor Detail

      • DevicePriceInfo

        public DevicePriceInfo()
        Deprecated.
        Constructs a new empty instance.
      • DevicePriceInfo

        protected DevicePriceInfo​(boolean noInit)
        Deprecated.
        Constructs a new empty instance.
      • DevicePriceInfo

        public DevicePriceInfo​(JSONObject jsonObject)
        Deprecated.
        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.
      • DevicePriceInfo

        public DevicePriceInfo​(DevicePriceInfo src)
        Deprecated.
        Constructs a new instance that is a deep copy of the source instance. It does not copy the bundle or changelog.
    • Method Detail

      • getPrice

        public Long getPrice()
        Deprecated.
      • getDeviceCountInfo

        public DeviceCountInfo getDeviceCountInfo()
        Deprecated.
      • getJSONObject

        public JSONObject getJSONObject()
        Deprecated.
        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
      • validate

        public void validate()
        Deprecated.
        Specified by:
        validate in interface Validator
      • isNotNullPrice

        public boolean isNotNullPrice()
        Deprecated.
        Checks whether the 'price' field is set and is not null
      • isNotNullDeviceCountInfo

        public boolean isNotNullDeviceCountInfo()
        Deprecated.
        Checks whether the 'deviceCountInfo' field is set and is not null
      • hasPrice

        public boolean hasPrice()
        Deprecated.
        Checks whether the 'price' field has been set, however the value could be null
      • hasDeviceCountInfo

        public boolean hasDeviceCountInfo()
        Deprecated.
        Checks whether the 'deviceCountInfo' field has been set, however the value could be null
      • setPrice

        public DevicePriceInfo setPrice​(Long price)
        Deprecated.
        Sets the field 'price'.
      • setDeviceCountInfo

        public DevicePriceInfo setDeviceCountInfo​(DeviceCountInfo deviceCountInfo)
        Deprecated.
        Sets the field 'deviceCountInfo'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
      • clearPrice

        public void clearPrice()
        Deprecated.
        Clears the 'price' field, the 'has' method for this field will now return false
      • clearDeviceCountInfo

        public void clearDeviceCountInfo()
        Deprecated.
        Clears the 'deviceCountInfo' field, the 'has' method for this field will now return false
      • containsChanges

        public boolean containsChanges()
        Deprecated.
        Returns true if this instance has any changes.
      • resetChangeLog

        public void resetChangeLog()
        Deprecated.
        Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.
      • copyChanges

        public DevicePriceInfo copyChanges()
        Deprecated.
        Create a copy of this instance that contains only fields that were set after the constructor was called.
      • mergeChanges

        public void mergeChanges​(DevicePriceInfo src)
        Deprecated.
        Copy all the changed fields from the given source to this instance.