Class GiftCardResponse

    • Constructor Detail

      • GiftCardResponse

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

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

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

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

      • getTxType

        public TxType getTxType()
      • getRequestAmount

        public Long getRequestAmount()
        Transaction Amount
      • getPayment

        public Payment getPayment()
      • getResponseMessage

        public String getResponseMessage()
      • getRequestSuccessful

        public Boolean getRequestSuccessful()
      • getAccountNumber

        public String getAccountNumber()
      • getScv

        public String getScv()
      • getGiftCardTxUuid

        public String getGiftCardTxUuid()
      • getTransactionId

        public String getTransactionId()
      • getReferenceUuid

        public String getReferenceUuid()
      • getAuthCode

        public String getAuthCode()
      • getBegBal

        public Long getBegBal()
      • getEndBal

        public Long getEndBal()
      • getHoldBal

        public Long getHoldBal()
      • getSyncPaymentObject

        public Boolean getSyncPaymentObject()
      • 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
      • isNotNullTxType

        public boolean isNotNullTxType()
        Checks whether the 'txType' field is set and is not null
      • isNotNullState

        public boolean isNotNullState()
        Checks whether the 'state' field is set and is not null
      • isNotNullRequestAmount

        public boolean isNotNullRequestAmount()
        Checks whether the 'requestAmount' field is set and is not null
      • isNotNullPayment

        public boolean isNotNullPayment()
        Checks whether the 'payment' field is set and is not null
      • isNotNullResponseMessage

        public boolean isNotNullResponseMessage()
        Checks whether the 'responseMessage' field is set and is not null
      • isNotNullRequestSuccessful

        public boolean isNotNullRequestSuccessful()
        Checks whether the 'requestSuccessful' field is set and is not null
      • isNotNullAccountNumber

        public boolean isNotNullAccountNumber()
        Checks whether the 'accountNumber' field is set and is not null
      • isNotNullScv

        public boolean isNotNullScv()
        Checks whether the 'scv' field is set and is not null
      • isNotNullGiftCardTxUuid

        public boolean isNotNullGiftCardTxUuid()
        Checks whether the 'giftCardTxUuid' field is set and is not null
      • isNotNullTransactionId

        public boolean isNotNullTransactionId()
        Checks whether the 'transactionId' field is set and is not null
      • isNotNullReferenceUuid

        public boolean isNotNullReferenceUuid()
        Checks whether the 'referenceUuid' field is set and is not null
      • isNotNullAuthCode

        public boolean isNotNullAuthCode()
        Checks whether the 'authCode' field is set and is not null
      • isNotNullBegBal

        public boolean isNotNullBegBal()
        Checks whether the 'begBal' field is set and is not null
      • isNotNullEndBal

        public boolean isNotNullEndBal()
        Checks whether the 'endBal' field is set and is not null
      • isNotNullHoldBal

        public boolean isNotNullHoldBal()
        Checks whether the 'holdBal' field is set and is not null
      • isNotNullSyncPaymentObject

        public boolean isNotNullSyncPaymentObject()
        Checks whether the 'syncPaymentObject' field is set and is not null
      • hasTxType

        public boolean hasTxType()
        Checks whether the 'txType' field has been set, however the value could be null
      • hasState

        public boolean hasState()
        Checks whether the 'state' field has been set, however the value could be null
      • hasRequestAmount

        public boolean hasRequestAmount()
        Checks whether the 'requestAmount' field has been set, however the value could be null
      • hasPayment

        public boolean hasPayment()
        Checks whether the 'payment' field has been set, however the value could be null
      • hasResponseMessage

        public boolean hasResponseMessage()
        Checks whether the 'responseMessage' field has been set, however the value could be null
      • hasRequestSuccessful

        public boolean hasRequestSuccessful()
        Checks whether the 'requestSuccessful' field has been set, however the value could be null
      • hasAccountNumber

        public boolean hasAccountNumber()
        Checks whether the 'accountNumber' field has been set, however the value could be null
      • hasScv

        public boolean hasScv()
        Checks whether the 'scv' field has been set, however the value could be null
      • hasGiftCardTxUuid

        public boolean hasGiftCardTxUuid()
        Checks whether the 'giftCardTxUuid' field has been set, however the value could be null
      • hasTransactionId

        public boolean hasTransactionId()
        Checks whether the 'transactionId' field has been set, however the value could be null
      • hasReferenceUuid

        public boolean hasReferenceUuid()
        Checks whether the 'referenceUuid' field has been set, however the value could be null
      • hasAuthCode

        public boolean hasAuthCode()
        Checks whether the 'authCode' field has been set, however the value could be null
      • hasBegBal

        public boolean hasBegBal()
        Checks whether the 'begBal' field has been set, however the value could be null
      • hasEndBal

        public boolean hasEndBal()
        Checks whether the 'endBal' field has been set, however the value could be null
      • hasHoldBal

        public boolean hasHoldBal()
        Checks whether the 'holdBal' field has been set, however the value could be null
      • hasSyncPaymentObject

        public boolean hasSyncPaymentObject()
        Checks whether the 'syncPaymentObject' field has been set, however the value could be null
      • setRequestAmount

        public GiftCardResponse setRequestAmount​(Long requestAmount)
        Sets the field 'requestAmount'.
      • setPayment

        public GiftCardResponse setPayment​(Payment payment)
        Sets the field 'payment'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
      • setResponseMessage

        public GiftCardResponse setResponseMessage​(String responseMessage)
        Sets the field 'responseMessage'.
      • setRequestSuccessful

        public GiftCardResponse setRequestSuccessful​(Boolean requestSuccessful)
        Sets the field 'requestSuccessful'.
      • setAccountNumber

        public GiftCardResponse setAccountNumber​(String accountNumber)
        Sets the field 'accountNumber'.
      • setGiftCardTxUuid

        public GiftCardResponse setGiftCardTxUuid​(String giftCardTxUuid)
        Sets the field 'giftCardTxUuid'.
      • setTransactionId

        public GiftCardResponse setTransactionId​(String transactionId)
        Sets the field 'transactionId'.
      • setReferenceUuid

        public GiftCardResponse setReferenceUuid​(String referenceUuid)
        Sets the field 'referenceUuid'.
      • setSyncPaymentObject

        public GiftCardResponse setSyncPaymentObject​(Boolean syncPaymentObject)
        Sets the field 'syncPaymentObject'.
      • clearTxType

        public void clearTxType()
        Clears the 'txType' field, the 'has' method for this field will now return false
      • clearState

        public void clearState()
        Clears the 'state' field, the 'has' method for this field will now return false
      • clearRequestAmount

        public void clearRequestAmount()
        Clears the 'requestAmount' field, the 'has' method for this field will now return false
      • clearPayment

        public void clearPayment()
        Clears the 'payment' field, the 'has' method for this field will now return false
      • clearResponseMessage

        public void clearResponseMessage()
        Clears the 'responseMessage' field, the 'has' method for this field will now return false
      • clearRequestSuccessful

        public void clearRequestSuccessful()
        Clears the 'requestSuccessful' field, the 'has' method for this field will now return false
      • clearAccountNumber

        public void clearAccountNumber()
        Clears the 'accountNumber' field, the 'has' method for this field will now return false
      • clearScv

        public void clearScv()
        Clears the 'scv' field, the 'has' method for this field will now return false
      • clearGiftCardTxUuid

        public void clearGiftCardTxUuid()
        Clears the 'giftCardTxUuid' field, the 'has' method for this field will now return false
      • clearTransactionId

        public void clearTransactionId()
        Clears the 'transactionId' field, the 'has' method for this field will now return false
      • clearReferenceUuid

        public void clearReferenceUuid()
        Clears the 'referenceUuid' field, the 'has' method for this field will now return false
      • clearAuthCode

        public void clearAuthCode()
        Clears the 'authCode' field, the 'has' method for this field will now return false
      • clearBegBal

        public void clearBegBal()
        Clears the 'begBal' field, the 'has' method for this field will now return false
      • clearEndBal

        public void clearEndBal()
        Clears the 'endBal' field, the 'has' method for this field will now return false
      • clearHoldBal

        public void clearHoldBal()
        Clears the 'holdBal' field, the 'has' method for this field will now return false
      • clearSyncPaymentObject

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

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