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 { PaymentLinkLineItemImageMetadata, PaymentLinkLineItemImageMetadata$Outbound } from "./paymentlinklineitemimagemetadata.js"; /** * Represents a modifier or option applied to a line item. */ export type PaymentLinkLineItemOption = { /** * 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. */ images?: Array | undefined; /** * Optional group identifier to categorize related options (e.g., 'toppings'). */ group?: string | undefined; }; /** @internal */ export declare const PaymentLinkLineItemOption$inboundSchema: z.ZodType; /** @internal */ export type PaymentLinkLineItemOption$Outbound = { name: string; quantity: number; priceModifier?: AmountDecimal$Outbound | undefined; images?: Array | undefined; group?: string | undefined; }; /** @internal */ export declare const PaymentLinkLineItemOption$outboundSchema: z.ZodType; export declare function paymentLinkLineItemOptionToJSON(paymentLinkLineItemOption: PaymentLinkLineItemOption): string; export declare function paymentLinkLineItemOptionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=paymentlinklineitemoption.d.ts.map