import * as z from "zod/v3"; import { Airline, Airline$Outbound } from "./airline.js"; import { CartItem, CartItem$Outbound } from "./cartitem.js"; import { GuestBuyer, GuestBuyer$Outbound } from "./guestbuyer.js"; export type CheckoutSessionCreate = { /** * An array of cart items that represents the line items of a transaction. */ cartItems?: Array | null | undefined; /** * Any additional information about the transaction that you would like to store as key-value pairs. This data is passed to payment service providers that support it. */ metadata?: { [k: string]: string; } | null | undefined; /** * Provide buyer details for the transaction. No buyer resource will be created on Gr4vy when used. */ buyer?: GuestBuyer | null | undefined; /** * The airline addendum data which describes the airline booking associated with this transaction. */ airline?: Airline | null | undefined; /** * The total amount for this transaction. */ amount?: number | null | undefined; /** * The currency code for this transaction. */ currency?: string | null | undefined; /** * The unique identifier of an existing payment service. When provided, the created transaction will be processed by the given payment service and any routing rules will be skipped. */ paymentServiceId?: string | null | undefined; /** * The time in seconds when this checkout session expires. */ expiresIn?: number | undefined; }; /** @internal */ export type CheckoutSessionCreate$Outbound = { cart_items?: Array | null | undefined; metadata?: { [k: string]: string; } | null | undefined; buyer?: GuestBuyer$Outbound | null | undefined; airline?: Airline$Outbound | null | undefined; amount?: number | null | undefined; currency?: string | null | undefined; payment_service_id?: string | null | undefined; expires_in: number; }; /** @internal */ export declare const CheckoutSessionCreate$outboundSchema: z.ZodType; export declare function checkoutSessionCreateToJSON(checkoutSessionCreate: CheckoutSessionCreate): string; //# sourceMappingURL=checkoutsessioncreate.d.ts.map