import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * An order line item. */ export type OrderItemSchema = { /** * Creation timestamp of the object. */ createdAt: Date; /** * Last modification timestamp of the object. */ modifiedAt: Date | null; /** * The ID of the object. */ id: string; /** * Description of the line item charge. */ label: string; /** * Amount in cents, before discounts and taxes. */ amount: number; /** * Sales tax amount in cents. */ taxAmount: number; /** * Whether this charge is due to a proration. */ proration: boolean; /** * Associated price ID, if any. */ productPriceId: string | null; }; /** @internal */ export declare const OrderItemSchema$inboundSchema: z.ZodMiniType; /** @internal */ export type OrderItemSchema$Outbound = { created_at: string; modified_at: string | null; id: string; label: string; amount: number; tax_amount: number; proration: boolean; product_price_id: string | null; }; /** @internal */ export declare const OrderItemSchema$outboundSchema: z.ZodMiniType; export declare function orderItemSchemaToJSON(orderItemSchema: OrderItemSchema): string; export declare function orderItemSchemaFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=orderitemschema.d.ts.map