Class StandalonePaymentCancelResponse


  • public class StandalonePaymentCancelResponse
    extends Object
    StandalonePaymentCancelResponse
    • Constructor Detail

      • StandalonePaymentCancelResponse

        public StandalonePaymentCancelResponse()
    • Method Detail

      • getMerchantAccount

        public String getMerchantAccount()
        The merchant account that is used to process the payment.
        Returns:
        merchantAccount
      • setMerchantAccount

        public void setMerchantAccount​(String merchantAccount)
        The merchant account that is used to process the payment.
        Parameters:
        merchantAccount -
      • getPaymentReference

        public String getPaymentReference()
        The [`reference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_reference) of the payment to cancel.
        Returns:
        paymentReference
      • setPaymentReference

        public void setPaymentReference​(String paymentReference)
        The [`reference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_reference) of the payment to cancel.
        Parameters:
        paymentReference -
      • getPspReference

        public String getPspReference()
        Adyen's 16-character reference associated with the cancel request.
        Returns:
        pspReference
      • setPspReference

        public void setPspReference​(String pspReference)
        Adyen's 16-character reference associated with the cancel request.
        Parameters:
        pspReference -
      • getReference

        public String getReference()
        Your reference for the cancel request.
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
        Your reference for the cancel request.
        Parameters:
        reference -
      • equals

        public boolean equals​(Object o)
        Return true if this StandalonePaymentCancelResponse object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static StandalonePaymentCancelResponse fromJson​(String jsonString)
                                                        throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of StandalonePaymentCancelResponse given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of StandalonePaymentCancelResponse
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to StandalonePaymentCancelResponse
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of StandalonePaymentCancelResponse to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException