dw.extensions.payments
Class SalesforceAdyenPaymentIntent
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
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.
Methods inherited from class
Object
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
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
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
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
© Copyright 2000-2025, salesforce.com inc. All rights reserved. Various trademarks held by their respective owners.