/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { buyersPaymentMethodsList } from "../funcs/buyersPaymentMethodsList.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Gr4vyPaymentMethods extends ClientSDK { /** * List payment methods for a buyer * * @remarks * List all the stored payment methods for a specific buyer. */ async list( request?: operations.ListBuyerPaymentMethodsRequest | undefined, options?: RequestOptions, ): Promise { return unwrapAsync(buyersPaymentMethodsList( this, request, options, )); } }