Class InfoleaseChargeAttempt

    • Constructor Detail

      • InfoleaseChargeAttempt

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

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

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

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

      • getId

        public String getId()
      • getPaymentType

        public String getPaymentType()
      • getInfoleaseKey

        public String getInfoleaseKey()
      • getContractNumber

        public String getContractNumber()
      • getGlCode

        public String getGlCode()
      • getTax

        public Long getTax()
      • getPostDate

        public String getPostDate()
      • getCreatedTime

        public Long getCreatedTime()
      • getModifiedTime

        public Long getModifiedTime()
      • 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
      • isNotNullId

        public boolean isNotNullId()
        Checks whether the 'id' field is set and is not null
      • isNotNullStatus

        public boolean isNotNullStatus()
        Checks whether the 'status' field is set and is not null
      • isNotNullPaymentType

        public boolean isNotNullPaymentType()
        Checks whether the 'paymentType' field is set and is not null
      • isNotNullInfoleaseKey

        public boolean isNotNullInfoleaseKey()
        Checks whether the 'infoleaseKey' field is set and is not null
      • isNotNullContractNumber

        public boolean isNotNullContractNumber()
        Checks whether the 'contractNumber' field is set and is not null
      • isNotNullGlCode

        public boolean isNotNullGlCode()
        Checks whether the 'glCode' field is set and is not null
      • isNotNullTax

        public boolean isNotNullTax()
        Checks whether the 'tax' field is set and is not null
      • isNotNullPostDate

        public boolean isNotNullPostDate()
        Checks whether the 'postDate' 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
      • hasId

        public boolean hasId()
        Checks whether the 'id' 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
      • hasPaymentType

        public boolean hasPaymentType()
        Checks whether the 'paymentType' field has been set, however the value could be null
      • hasInfoleaseKey

        public boolean hasInfoleaseKey()
        Checks whether the 'infoleaseKey' field has been set, however the value could be null
      • hasContractNumber

        public boolean hasContractNumber()
        Checks whether the 'contractNumber' field has been set, however the value could be null
      • hasGlCode

        public boolean hasGlCode()
        Checks whether the 'glCode' field has been set, however the value could be null
      • hasTax

        public boolean hasTax()
        Checks whether the 'tax' field has been set, however the value could be null
      • hasPostDate

        public boolean hasPostDate()
        Checks whether the 'postDate' 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
      • clearId

        public void clearId()
        Clears the 'id' 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
      • clearPaymentType

        public void clearPaymentType()
        Clears the 'paymentType' field, the 'has' method for this field will now return false
      • clearInfoleaseKey

        public void clearInfoleaseKey()
        Clears the 'infoleaseKey' field, the 'has' method for this field will now return false
      • clearContractNumber

        public void clearContractNumber()
        Clears the 'contractNumber' field, the 'has' method for this field will now return false
      • clearGlCode

        public void clearGlCode()
        Clears the 'glCode' field, the 'has' method for this field will now return false
      • clearTax

        public void clearTax()
        Clears the 'tax' field, the 'has' method for this field will now return false
      • clearPostDate

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

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