/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { giftCardsBalancesList } from "../funcs/giftCardsBalancesList.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Balances extends ClientSDK { /** * List gift card balances * * @remarks * Fetch the balances for one or more gift cards. */ async list( giftCardBalanceRequest: components.GiftCardBalanceRequest, merchantAccountId?: string | null | undefined, options?: RequestOptions, ): Promise { return unwrapAsync(giftCardsBalancesList( this, giftCardBalanceRequest, merchantAccountId, options, )); } }