Class StoredValueVoidResponse


  • public class StoredValueVoidResponse
    extends Object
    StoredValueVoidResponse
    • Constructor Detail

      • StoredValueVoidResponse

        public StoredValueVoidResponse()
    • Method Detail

      • getCurrentBalance

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

        public void setCurrentBalance​(Amount currentBalance)
      • 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 StoredValueVoidResponse.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