/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type GivingBlockOptions = { /** * The default cryptocurrency to present at checkout. This can be used to ensure the user is presented with the same currency in both your checkout and the Giving Block checkout. */ defaultCryptocurrency?: string | null | undefined; }; /** @internal */ export type GivingBlockOptions$Outbound = { defaultCryptocurrency?: string | null | undefined; }; /** @internal */ export const GivingBlockOptions$outboundSchema: z.ZodType< GivingBlockOptions$Outbound, z.ZodTypeDef, GivingBlockOptions > = z.object({ defaultCryptocurrency: z.nullable(z.string()).optional(), }); export function givingBlockOptionsToJSON( givingBlockOptions: GivingBlockOptions, ): string { return JSON.stringify( GivingBlockOptions$outboundSchema.parse(givingBlockOptions), ); }