Class ExternalMerchant

    • Constructor Detail

      • ExternalMerchant

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

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

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

        public ExternalMerchant​(ExternalMerchant 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()
      • getExternalMerchantNumber

        public String getExternalMerchantNumber()
        External merchant number
      • getClientFlag

        public String getClientFlag()
        Client flag
      • getUsageFlag

        public String getUsageFlag()
        Usage flag
      • getXrefType

        public String getXrefType()
        Cross reference type
      • getAuditUserId

        public String getAuditUserId()
        User performing audit
      • getAuditDate

        public Long getAuditDate()
        Date of audit
      • getCreatedTime

        public Long getCreatedTime()
        Date record created
      • getModifiedTime

        public Long getModifiedTime()
        Date record updated
      • 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
      • isNotNullExternalMerchantNumber

        public boolean isNotNullExternalMerchantNumber()
        Checks whether the 'externalMerchantNumber' field is set and is not null
      • isNotNullClientFlag

        public boolean isNotNullClientFlag()
        Checks whether the 'clientFlag' field is set and is not null
      • isNotNullUsageFlag

        public boolean isNotNullUsageFlag()
        Checks whether the 'usageFlag' field is set and is not null
      • isNotNullXrefType

        public boolean isNotNullXrefType()
        Checks whether the 'xrefType' field is set and is not null
      • isNotNullAuditUserId

        public boolean isNotNullAuditUserId()
        Checks whether the 'auditUserId' field is set and is not null
      • isNotNullAuditDate

        public boolean isNotNullAuditDate()
        Checks whether the 'auditDate' 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
      • hasMerchantRef

        public boolean hasMerchantRef()
        Checks whether the 'merchantRef' field has been set, however the value could be null
      • hasExternalMerchantNumber

        public boolean hasExternalMerchantNumber()
        Checks whether the 'externalMerchantNumber' field has been set, however the value could be null
      • hasClientFlag

        public boolean hasClientFlag()
        Checks whether the 'clientFlag' field has been set, however the value could be null
      • hasUsageFlag

        public boolean hasUsageFlag()
        Checks whether the 'usageFlag' field has been set, however the value could be null
      • hasXrefType

        public boolean hasXrefType()
        Checks whether the 'xrefType' field has been set, however the value could be null
      • hasAuditUserId

        public boolean hasAuditUserId()
        Checks whether the 'auditUserId' field has been set, however the value could be null
      • hasAuditDate

        public boolean hasAuditDate()
        Checks whether the 'auditDate' 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
      • setMerchantRef

        public ExternalMerchant 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.
      • setExternalMerchantNumber

        public ExternalMerchant setExternalMerchantNumber​(String externalMerchantNumber)
        Sets the field 'externalMerchantNumber'.
      • setAuditUserId

        public ExternalMerchant setAuditUserId​(String auditUserId)
        Sets the field 'auditUserId'.
      • setAuditDate

        public ExternalMerchant setAuditDate​(Long auditDate)
        Sets the field 'auditDate'.
      • setCreatedTime

        public ExternalMerchant setCreatedTime​(Long createdTime)
        Sets the field 'createdTime'.
      • setModifiedTime

        public ExternalMerchant setModifiedTime​(Long modifiedTime)
        Sets the field 'modifiedTime'.
      • clearMerchantRef

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

        public void clearExternalMerchantNumber()
        Clears the 'externalMerchantNumber' field, the 'has' method for this field will now return false
      • clearClientFlag

        public void clearClientFlag()
        Clears the 'clientFlag' field, the 'has' method for this field will now return false
      • clearUsageFlag

        public void clearUsageFlag()
        Clears the 'usageFlag' field, the 'has' method for this field will now return false
      • clearXrefType

        public void clearXrefType()
        Clears the 'xrefType' field, the 'has' method for this field will now return false
      • clearAuditUserId

        public void clearAuditUserId()
        Clears the 'auditUserId' field, the 'has' method for this field will now return false
      • clearAuditDate

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

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