Class AdyenResponse
java.lang.Object
com.broadleafcommerce.adyen.domain.AdyenResponse
- All Implemented Interfaces:
Serializable
This component represents the Adyen API response model.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdditionalAttributes
(String name, Object value) Action to be taken for completing the payment.The payment amount in the transaction.The reference used during the "/payments" request.The "pspReference" of the payment.Adyen's 16-character string reference associated with the transaction/request.The reference for the request.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.Code that specifies the refusal reason.The result of the payment.Transaction status, expected to be received for capture, refund etc transactions.void
Action to be taken for completing the payment.void
setAdditionalAttributes
(Map<String, Object> additionalAttributes) Contains the additional information from the response.void
setAmount
(AdyenAmount amount) The payment amount in the transaction.void
setMerchantReference
(String merchantReference) The reference used during the "/payments" request.void
setPaymentPspReference
(String paymentPspReference) The "pspReference" of the payment.void
setPspReference
(String pspReference) Adyen's 16-character string reference associated with the transaction/request.void
setReference
(String reference) The reference for the request.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.void
setRefusalReasonCode
(String refusalReasonCode) Code that specifies the refusal reason.void
setResultCode
(String resultCode) The result of the payment.void
Transaction status, expected to be received for capture, refund etc transactions.toString()
-
Constructor Details
-
AdyenResponse
public AdyenResponse()
-
-
Method Details
-
addAdditionalAttributes
-
getAdditionalAttributes
-
setAmount
The payment amount in the transaction. -
setPspReference
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
The "pspReference" of the payment. -
setResultCode
The result of the payment. For more information, see Result codes. -
setReference
The reference for the request. -
setStatus
Transaction status, expected to be received for capture, refund etc transactions. If not received means an error -
setMerchantReference
The reference used during the "/payments" request. -
setRefusalReason
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
Code that specifies the refusal reason. For more information, see Authorisation refusal reasons. -
setAction
Action to be taken for completing the payment. -
setAdditionalAttributes
Contains the additional information from the response. It is used as a "fallback" handler for all unrecognized properties from JSON content. -
getAmount
The payment amount in the transaction. -
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
The "pspReference" of the payment. -
getResultCode
The result of the payment. For more information, see Result codes. -
getReference
The reference for the request. -
getStatus
Transaction status, expected to be received for capture, refund etc transactions. If not received means an error -
getMerchantReference
The reference used during the "/payments" request. -
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
Code that specifies the refusal reason. For more information, see Authorisation refusal reasons. -
getAction
Action to be taken for completing the payment. -
toString
-