/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type GetPaymentMethodGlobals = { orgId?: string | undefined; }; export type GetPaymentMethodRequest = { orgId?: string | undefined; }; /** @internal */ export type GetPaymentMethodRequest$Outbound = { orgId?: string | undefined; }; /** @internal */ export const GetPaymentMethodRequest$outboundSchema: z.ZodType< GetPaymentMethodRequest$Outbound, z.ZodTypeDef, GetPaymentMethodRequest > = z.object({ orgId: z.string().optional(), }); export function getPaymentMethodRequestToJSON( getPaymentMethodRequest: GetPaymentMethodRequest, ): string { return JSON.stringify( GetPaymentMethodRequest$outboundSchema.parse(getPaymentMethodRequest), ); }