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
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.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
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.
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:
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:
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:
Returns:
getResultCode()
getResultCode(): String
Returns the Adyen result code for this payment intent.
Returns:
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