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 Summary 

PropertyDescription
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.

Constructor Summary 

This class does not have a constructor, so you cannot create it directly.

Method Summary 

MethodDescription
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.

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

Property Details 

ID 

ID: String (read-only)

Returns the identifier of this payment intent.


action 

action: Object (read-only)

Returns the payment action for this payment intent.


resultCode 

resultCode: String (read-only)

Returns the Adyen result code for this payment intent.


Method Details 

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(Basket) 

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(Order) 

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

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!