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"; /** * Represents a modifier or option applied to a line item. */ export type CreatePaymentLinkLineItemOption = { /** * The name of the option or modifier. */ name: string; /** * The quantity of this option. */ quantity: number; /** * Optional price modification applied by this option. Can be positive, negative, or zero. */ priceModifier?: AmountDecimal | undefined; /** * Optional list of images associated with this line item option. */ imageIDs?: Array | undefined; /** * Optional group identifier to categorize related options (e.g., 'toppings'). */ group?: string | undefined; }; /** @internal */ export declare const CreatePaymentLinkLineItemOption$inboundSchema: z.ZodType; /** @internal */ export type CreatePaymentLinkLineItemOption$Outbound = { name: string; quantity: number; priceModifier?: AmountDecimal$Outbound | undefined; imageIDs?: Array | undefined; group?: string | undefined; }; /** @internal */ export declare const CreatePaymentLinkLineItemOption$outboundSchema: z.ZodType; export declare function createPaymentLinkLineItemOptionToJSON(createPaymentLinkLineItemOption: CreatePaymentLinkLineItemOption): string; export declare function createPaymentLinkLineItemOptionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createpaymentlinklineitemoption.d.ts.map