import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { BillingDetails, BillingDetails$Outbound } from "./billingdetails.js"; import { ShippingDetailsCreate, ShippingDetailsCreate$Outbound } from "./shippingdetailscreate.js"; export type GuestBuyer = { /** * The display name for the buyer. */ displayName?: string | null | undefined; /** * The merchant identifier for this buyer. */ externalIdentifier?: string | null | undefined; /** * The billing name, address, email, and other fields for this buyer. */ billingDetails?: BillingDetails | null | undefined; /** * The buyer account number */ accountNumber?: string | null | undefined; /** * The optional shipping details for this buyer. */ shippingDetails?: ShippingDetailsCreate | null | undefined; }; /** @internal */ export declare const GuestBuyer$inboundSchema: z.ZodType; /** @internal */ export type GuestBuyer$Outbound = { display_name?: string | null | undefined; external_identifier?: string | null | undefined; billing_details?: BillingDetails$Outbound | null | undefined; account_number?: string | null | undefined; shipping_details?: ShippingDetailsCreate$Outbound | null | undefined; }; /** @internal */ export declare const GuestBuyer$outboundSchema: z.ZodType; export declare function guestBuyerToJSON(guestBuyer: GuestBuyer): string; export declare function guestBuyerFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=guestbuyer.d.ts.map