Class MerchantProgramExpress

    • Constructor Detail

      • MerchantProgramExpress

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

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

        public MerchantProgramExpress​(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.
      • MerchantProgramExpress

        public MerchantProgramExpress​(MerchantProgramExpress 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()
      • getProgramCode

        public String getProgramCode()
        Program Code
      • getProgramCodeDescription

        public String getProgramCodeDescription()
        Description of Program Code
      • getKey

        public String getKey()
        Key
      • getKeyDescription

        public String getKeyDescription()
        Key description
      • getValue

        public String getValue()
        Value
      • getValueDescription

        public String getValueDescription()
        Description of value
      • 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
      • isNotNullProgramCode

        public boolean isNotNullProgramCode()
        Checks whether the 'programCode' field is set and is not null
      • isNotNullProgramCodeDescription

        public boolean isNotNullProgramCodeDescription()
        Checks whether the 'programCodeDescription' field is set and is not null
      • isNotNullKey

        public boolean isNotNullKey()
        Checks whether the 'key' field is set and is not null
      • isNotNullKeyDescription

        public boolean isNotNullKeyDescription()
        Checks whether the 'keyDescription' field is set and is not null
      • isNotNullValue

        public boolean isNotNullValue()
        Checks whether the 'value' field is set and is not null
      • isNotNullValueDescription

        public boolean isNotNullValueDescription()
        Checks whether the 'valueDescription' 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
      • hasProgramCode

        public boolean hasProgramCode()
        Checks whether the 'programCode' field has been set, however the value could be null
      • hasProgramCodeDescription

        public boolean hasProgramCodeDescription()
        Checks whether the 'programCodeDescription' field has been set, however the value could be null
      • hasKey

        public boolean hasKey()
        Checks whether the 'key' field has been set, however the value could be null
      • hasKeyDescription

        public boolean hasKeyDescription()
        Checks whether the 'keyDescription' field has been set, however the value could be null
      • hasValue

        public boolean hasValue()
        Checks whether the 'value' field has been set, however the value could be null
      • hasValueDescription

        public boolean hasValueDescription()
        Checks whether the 'valueDescription' field has been set, however the value could be null
      • setMerchantRef

        public MerchantProgramExpress 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.
      • setProgramCodeDescription

        public MerchantProgramExpress setProgramCodeDescription​(String programCodeDescription)
        Sets the field 'programCodeDescription'.
      • clearMerchantRef

        public void clearMerchantRef()
        Clears the 'merchantRef' field, the 'has' method for this field will now return false
      • clearProgramCode

        public void clearProgramCode()
        Clears the 'programCode' field, the 'has' method for this field will now return false
      • clearProgramCodeDescription

        public void clearProgramCodeDescription()
        Clears the 'programCodeDescription' field, the 'has' method for this field will now return false
      • clearKey

        public void clearKey()
        Clears the 'key' field, the 'has' method for this field will now return false
      • clearKeyDescription

        public void clearKeyDescription()
        Clears the 'keyDescription' field, the 'has' method for this field will now return false
      • clearValue

        public void clearValue()
        Clears the 'value' field, the 'has' method for this field will now return false
      • clearValueDescription

        public void clearValueDescription()
        Clears the 'valueDescription' 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 MerchantProgramExpress copyChanges()
        Create a copy of this instance that contains only fields that were set after the constructor was called.
      • mergeChanges

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