Class AdyenResponse

java.lang.Object
com.broadleafcommerce.adyen.domain.AdyenResponse
All Implemented Interfaces:
Serializable

public class AdyenResponse extends Object implements Serializable
This component represents the Adyen API response model.
See Also:
  • Constructor Details

    • AdyenResponse

      public AdyenResponse()
  • Method Details

    • addAdditionalAttributes

      public void addAdditionalAttributes(String name, Object value)
    • getAdditionalAttributes

      public Map<String,Object> getAdditionalAttributes()
    • setAmount

      public void setAmount(AdyenAmount amount)
      The payment amount in the transaction.
    • setPspReference

      public void setPspReference(String pspReference)
      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.
    • setPaymentPspReference

      public void setPaymentPspReference(String paymentPspReference)
      The "pspReference" of the payment.
    • setResultCode

      public void setResultCode(String resultCode)
      The result of the payment. For more information, see Result codes.
    • setReference

      public void setReference(String reference)
      The reference for the request.
    • setStatus

      public void setStatus(String status)
      Transaction status, expected to be received for capture, refund etc transactions. If not received means an error
    • setMerchantReference

      public void setMerchantReference(String merchantReference)
      The reference used during the "/payments" request.
    • setRefusalReason

      public void setRefusalReason(String refusalReason)
      If the payment's authorisation is refused or an error occurs during authorisation, 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.
    • setRefusalReasonCode

      public void setRefusalReasonCode(String refusalReasonCode)
      Code that specifies the refusal reason. For more information, see Authorisation refusal reasons.
    • setAction

      public void setAction(Map<String,Object> action)
      Action to be taken for completing the payment.
    • setAdditionalAttributes

      public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
      Contains the additional information from the response. It is used as a "fallback" handler for all unrecognized properties from JSON content.
    • getAmount

      public AdyenAmount getAmount()
      The payment amount in the transaction.
    • 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.
    • getPaymentPspReference

      public String getPaymentPspReference()
      The "pspReference" of the payment.
    • getResultCode

      public String getResultCode()
      The result of the payment. For more information, see Result codes.
    • getReference

      public String getReference()
      The reference for the request.
    • getStatus

      public String getStatus()
      Transaction status, expected to be received for capture, refund etc transactions. If not received means an error
    • getMerchantReference

      public String getMerchantReference()
      The reference used during the "/payments" request.
    • getRefusalReason

      public String getRefusalReason()
      If the payment's authorisation is refused or an error occurs during authorisation, 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.
    • getRefusalReasonCode

      public String getRefusalReasonCode()
      Code that specifies the refusal reason. For more information, see Authorisation refusal reasons.
    • getAction

      public Map<String,Object> getAction()
      Action to be taken for completing the payment.
    • toString

      public String toString()
      Overrides:
      toString in class Object