/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type AdyenPixRecurringAmount = { /** * Amount in the smallest currency unit for the given currency */ value?: number | null | undefined; /** * ISO 4217 currency code */ currency?: string | null | undefined; }; /** @internal */ export type AdyenPixRecurringAmount$Outbound = { value?: number | null | undefined; currency?: string | null | undefined; }; /** @internal */ export const AdyenPixRecurringAmount$outboundSchema: z.ZodType< AdyenPixRecurringAmount$Outbound, z.ZodTypeDef, AdyenPixRecurringAmount > = z.object({ value: z.nullable(z.number().int()).optional(), currency: z.nullable(z.string()).optional(), }); export function adyenPixRecurringAmountToJSON( adyenPixRecurringAmount: AdyenPixRecurringAmount, ): string { return JSON.stringify( AdyenPixRecurringAmount$outboundSchema.parse(adyenPixRecurringAmount), ); }