Class SalesforceAdyenPaymentIntent
dw.extensions.payments
Class SalesforceAdyenPaymentIntent
Object
dw.extensions.payments.SalesforceAdyenPaymentIntent

Salesforce Payments representation of an Adyen payment intent object. See Salesforce Payments documentation for how to gain access and configure it for use on your sites.

Properties
action  :  Object  (Read Only)
The payment action for this payment intent.
ID  :  String  (Read Only)
The identifier of this payment intent.
resultCode  :  String  (Read Only)
The Adyen result code for this payment intent.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getAction() : Object
Returns the payment action for this payment intent.
getID() : String
Returns the identifier of this payment intent.
getPaymentInstrument(basket : Basket) : OrderPaymentInstrument
Returns the payment instrument for this payment intent in the given basket, or null if the given basket has none.
getPaymentInstrument(order : Order) : OrderPaymentInstrument
Returns the payment instrument for this payment intent in the given order, or null if the given order has none.
getResultCode() : String
Returns the Adyen result code for this payment intent.
hasAction() : boolean
Returns true if this payment intent has an action, or false if not.
Method Detail
getAction
getAction() : Object
Returns the payment action for this payment intent.
Returns:
payment action

getID
getID() : String
Returns the identifier of this payment intent.
Returns:
payment intent identifier

getPaymentInstrument
getPaymentInstrument(basket : Basket) : OrderPaymentInstrument
Returns the payment instrument for this payment intent in the given basket, or null if the given basket has none.
Parameters:
basket - basket
Returns:
basket payment instrument

getPaymentInstrument
getPaymentInstrument(order : Order) : OrderPaymentInstrument
Returns the payment instrument for this payment intent in the given order, or null if the given order has none.
Parameters:
order - order
Returns:
order payment instrument

getResultCode
getResultCode() : String
Returns the Adyen result code for this payment intent.
Returns:
Adyen result code

hasAction
hasAction() : boolean
Returns true if this payment intent has an action, or false if not.
Returns:
true if this payment intent has an action