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 TypeMethodDescriptionvoidaddAdditionalAttributes(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.voidAction to be taken for completing the payment.voidsetAdditionalAttributes(Map<String, Object> additionalAttributes) Contains the additional information from the response.voidsetAmount(AdyenAmount amount) The payment amount in the transaction.voidsetMerchantReference(String merchantReference) The reference used during the "/payments" request.voidsetPaymentPspReference(String paymentPspReference) The "pspReference" of the payment.voidsetPspReference(String pspReference) Adyen's 16-character string reference associated with the transaction/request.voidsetReference(String reference) The reference for the request.voidsetRefusalReason(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.voidsetRefusalReasonCode(String refusalReasonCode) Code that specifies the refusal reason.voidsetResultCode(String resultCode) The result of the payment.voidTransaction 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
-