static attachPaymentMethod(SalesforcePaymentMethod, Customer) | Attaches the given payment method to the given customer. |
| static authorizePayPalOrder(SalesforcePayPalOrder) | Authorizes the given PayPal order. |
| static cancelPaymentIntent(SalesforcePaymentIntent, Object) | Cancels the given payment intent. |
| static captureAdyenPayment(OrderPaymentInstrument, Money, Object) | Captures funds for the given order payment instrument. |
| static capturePayPalOrder(SalesforcePayPalOrder) | Captures funds for the given PayPal order. |
| static capturePaymentIntent(SalesforcePaymentIntent, Money) | Captures funds for the given payment intent. |
| static confirmPaymentIntent(Order, SalesforcePaymentMethod, Object) | Confirms a new payment intent using the given payment method, and associates it with the given order. |
| static createAdyenPaymentIntent(Order, Shipment, String, Money, Boolean, Object, Object) | Creates an Adyen payment intent using the given information, and associates it with the given order. |
| static createPayPalOrder(Basket, Shipment, String, Money, Object) | Creates a PayPal order using the given information, and associates it with the given basket. |
| static createPaymentIntent(Basket, Shipment, String, Money, Boolean, Object) | Creates a payment intent using the given information, and associates it with the given basket. |
static detachPaymentMethod(SalesforcePaymentMethod) | Detaches the given payment method from its associated customer. |
| static getAdyenSavedPaymentMethods(Customer) | Returns a collection containing the Adyen payment methods saved to be presented to the given customer for reuse in checkouts. |
static getAttachedPaymentMethods(Customer) | Returns a collection containing the payment methods attached to the given customer. |
| static getOffSessionPaymentMethods(Customer) | Returns a collection containing the payment methods for the given customer set up for future off session reuse. |
| static getPayPalOrder(Basket) | Returns the PayPal order for the given basket, or null if the given basket has none. |
| static getPayPalOrder(Order) | Returns the PayPal order for the given order, or null if the given order has none. |
| static getPaymentDetails(OrderPaymentInstrument) | Returns the details to the Salesforce Payments payment associated with the given payment instrument, or null if the given payment instrument has none. |
| static getPaymentIntent(Basket) | Returns the payment intent for the given basket, or null if the given basket has none. |
| static getPaymentIntent(Order) | Returns the payment intent for the given order, or null if the given order has none. |
| static getPaymentsSiteConfig() | Returns a payments site configuration object for the current site. |
| static getPaymentsZone(String) | Returns a payments zone object for the passed in payments zone ID. |
| static getSavedPaymentMethods(Customer) | Returns a collection containing the payment methods saved to be presented to the given customer for reuse in checkouts. |
| static handleAdyenAdditionalDetails(Order, String, Object) | Handles the given additional Adyen payment details and associates the associated payment with the given order, if applicable. |
| static onCustomerRegistered(Order) | Handles the account registration of the shopper who placed the given order. |
| static refundAdyenPayment(OrderPaymentInstrument, Money, Object) | Refunds previously captured funds for the given order payment instrument. |
| static refundPayPalOrderCapture(SalesforcePayPalOrder) | Refunds the capture for the given PayPal order. |
| static refundPaymentIntent(SalesforcePaymentIntent, Money, Object) | Refunds previously captured funds for the given payment intent. |
| static removeAdyenSavedPaymentMethod(SalesforceAdyenSavedPaymentMethod) | Deletes an Adyen saved payment method. |
| static removeSavedPaymentMethod(SalesforcePaymentMethod) | Removes the given saved payment method so that it is no longer presented to the given customer for reuse in checkouts. |
| static resolvePaymentsZone(Object) | Resolves and returns the payments zone object for the passed in payments zone properties object. |
| static reverseAdyenPayment(OrderPaymentInstrument, Object) | Reverses the authorisation for the given order payment instrument. |
| static savePaymentMethod(Customer, SalesforcePaymentMethod) | Saves the given payment method to be presented to the given customer for reuse in subsequent checkouts. |
| static setPaymentDetails(OrderPaymentInstrument, SalesforcePaymentDetails) | Sets the details to the Salesforce Payments payment associated with the given payment instrument. |
| static updatePaymentIntent(SalesforcePaymentIntent, Shipment, Money, String, Object) | Updates the provided information in the given payment intent. |
| static voidPayPalOrderAuthorization(SalesforcePayPalOrder) | Voids the authorization for the given PayPal order. |