/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { remap as remap$ } from "../../lib/primitives.js"; export type GooglePaySessionRequest = { /** * The domain on which Google Pay is being loaded. */ originDomain: string; }; /** @internal */ export type GooglePaySessionRequest$Outbound = { origin_domain: string; }; /** @internal */ export const GooglePaySessionRequest$outboundSchema: z.ZodType< GooglePaySessionRequest$Outbound, z.ZodTypeDef, GooglePaySessionRequest > = z.object({ originDomain: z.string(), }).transform((v) => { return remap$(v, { originDomain: "origin_domain", }); }); export function googlePaySessionRequestToJSON( googlePaySessionRequest: GooglePaySessionRequest, ): string { return JSON.stringify( GooglePaySessionRequest$outboundSchema.parse(googlePaySessionRequest), ); }