import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AmountDecimal, AmountDecimal$Outbound } from "./amountdecimal.js"; import { CreatePaymentLinkLineItemOption, CreatePaymentLinkLineItemOption$Outbound } from "./createpaymentlinklineitemoption.js"; /** * Represents a single line item in a payment link, including optional modifiers and quantity. */ export type CreatePaymentLinkLineItem = { /** * The name of the item. */ name: string; /** * The base price of the item before applying option modifiers. */ basePrice: AmountDecimal; /** * The quantity of this item. */ quantity: number; /** * Optional list of modifiers applied to this item (e.g., toppings, upgrades, customizations). */ options?: Array | undefined; /** * Optional list of images associated with this line item. */ imageIDs?: Array | undefined; /** * Optional unique identifier associating the line item with a product. */ productID?: string | undefined; }; /** @internal */ export declare const CreatePaymentLinkLineItem$inboundSchema: z.ZodType; /** @internal */ export type CreatePaymentLinkLineItem$Outbound = { name: string; basePrice: AmountDecimal$Outbound; quantity: number; options?: Array | undefined; imageIDs?: Array | undefined; productID?: string | undefined; }; /** @internal */ export declare const CreatePaymentLinkLineItem$outboundSchema: z.ZodType; export declare function createPaymentLinkLineItemToJSON(createPaymentLinkLineItem: CreatePaymentLinkLineItem): string; export declare function createPaymentLinkLineItemFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createpaymentlinklineitem.d.ts.map