Class 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.
| Property | Description |
|---|---|
ID: String (read-only) | Returns the identifier of this payment intent. |
action: Object (read-only) | Returns the payment action for this payment intent. |
resultCode: String (read-only) | Returns the Adyen result code for this payment intent. |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| getAction() | Returns the payment action for this payment intent. |
| getID() | Returns the identifier of this payment intent. |
| getPaymentInstrument(Basket) | Returns the payment instrument for this payment intent in the given basket, or null if the given basket has none. |
| getPaymentInstrument(Order) | Returns the payment instrument for this payment intent in the given order, or null if the given order has none. |
| getResultCode() | Returns the Adyen result code for this payment intent. |
| hasAction() | Returns true if this payment intent has an action, or false if not. |
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
- ID: String
(read-only) Returns the identifier of this payment intent.
- action: Object
(read-only) Returns the payment action for this payment intent.
- resultCode: String
(read-only) Returns the Adyen result code for this payment intent.
- getAction(): Object
Returns the payment action for this payment intent.
Returns:
- payment action
- getID(): String
Returns the identifier of this payment intent.
Returns:
- payment intent identifier
- getPaymentInstrument(basket: Basket): OrderPaymentInstrument
Returns the payment instrument for this payment intent in the given basket, or
nullif the given basket has none.Parameters:
- basket - basket
Returns:
- basket payment instrument
- getPaymentInstrument(order: Order): OrderPaymentInstrument
Returns the payment instrument for this payment intent in the given order, or
nullif the given order has none.Parameters:
- order - order
Returns:
- order payment instrument
- getResultCode(): String
Returns the Adyen result code for this payment intent.
Returns:
- Adyen result code
- hasAction(): Boolean
Returns
trueif this payment intent has an action, orfalseif not.Returns:
trueif this payment intent has an action