Appearance
@swapped/connect-sdk / core / PaymentMethods
Interface: PaymentMethods
Defined in: src/modules/payment-methods/payment-methods.module.ts:31
Fetches and filters payment methods for the loaded session.
Available on the client as client.paymentMethods.
Methods
get()
get(
filter?):Promise<IntegrationPaymentMethod[]>
Defined in: src/modules/payment-methods/payment-methods.module.ts:44
Return payment methods for the current session, optionally filtered.
Parameters
filter?
Returns
Promise<IntegrationPaymentMethod[]>
refetch()
refetch(
filter?):Promise<IntegrationPaymentMethod[]>
Defined in: src/modules/payment-methods/payment-methods.module.ts:49
Force-refetch payment methods from the API.
Parameters
filter?
Returns
Promise<IntegrationPaymentMethod[]>