import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Address, Address$Outbound } from "./address.js"; import { TaxId, TaxId$Outbound } from "./taxid.js"; export type BillingDetails = { /** * The first name(s) or given name for the buyer. */ firstName?: string | null | undefined; /** * The last name, or family name, of the buyer. */ lastName?: string | null | undefined; /** * The email address for the buyer. */ emailAddress?: string | null | undefined; /** * The phone number for the buyer which should be formatted according to the E164 number standard. */ phoneNumber?: string | null | undefined; /** * The billing address for the buyer. */ address?: Address | null | undefined; /** * The tax ID information associated with the billing details. */ taxId?: TaxId | null | undefined; }; /** @internal */ export declare const BillingDetails$inboundSchema: z.ZodType; /** @internal */ export type BillingDetails$Outbound = { first_name?: string | null | undefined; last_name?: string | null | undefined; email_address?: string | null | undefined; phone_number?: string | null | undefined; address?: Address$Outbound | null | undefined; tax_id?: TaxId$Outbound | null | undefined; }; /** @internal */ export declare const BillingDetails$outboundSchema: z.ZodType; export declare function billingDetailsToJSON(billingDetails: BillingDetails): string; export declare function billingDetailsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=billingdetails.d.ts.map