/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { paymentOptionsList } from "../funcs/paymentOptionsList.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { unwrapAsync } from "../types/fp.js"; export class PaymentOptions extends ClientSDK { /** * List payment options * * @remarks * List the payment options available at checkout. filtering by country, currency, and additional fields passed to Flow rules. */ async list( paymentOptionRequest: components.PaymentOptionRequest, merchantAccountId?: string | null | undefined, options?: RequestOptions, ): Promise { return unwrapAsync(paymentOptionsList( this, paymentOptionRequest, merchantAccountId, options, )); } }