Class StoredValueIssueResponse


  • public class StoredValueIssueResponse
    extends Object
    StoredValueIssueResponse
    • Constructor Detail

      • StoredValueIssueResponse

        public StoredValueIssueResponse()
    • Method Detail

      • getAuthCode

        public String getAuthCode()
        Authorisation code: * When the payment is authorised, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty.
        Returns:
        authCode
      • setAuthCode

        public void setAuthCode​(String authCode)
      • getCurrentBalance

        public Amount getCurrentBalance()
        Get currentBalance
        Returns:
        currentBalance
      • setCurrentBalance

        public void setCurrentBalance​(Amount currentBalance)
      • getPaymentMethod

        public Map<String,​String> getPaymentMethod()
        The collection that contains the type of the payment method and its specific information if available
        Returns:
        paymentMethod
      • setPaymentMethod

        public void setPaymentMethod​(Map<String,​String> paymentMethod)
      • getPspReference

        public String getPspReference()
        Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.
        Returns:
        pspReference
      • setPspReference

        public void setPspReference​(String pspReference)
      • getRefusalReason

        public String getRefusalReason()
        If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values.
        Returns:
        refusalReason
      • setRefusalReason

        public void setRefusalReason​(String refusalReason)
      • getResultCode

        public StoredValueIssueResponse.ResultCodeEnum getResultCode()
        The result of the payment. Possible values: * **Success** – The operation has been completed successfully. * **Refused** – The operation was refused. The reason is given in the `refusalReason` field. * **Error** – There was an error when the operation was processed. The reason is given in the `refusalReason` field. * **NotEnoughBalance** – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks.
        Returns:
        resultCode
      • getThirdPartyRefusalReason

        public String getThirdPartyRefusalReason()
        Raw refusal reason received from the third party, where available
        Returns:
        thirdPartyRefusalReason
      • setThirdPartyRefusalReason

        public void setThirdPartyRefusalReason​(String thirdPartyRefusalReason)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object