import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * An object representing a discount applied to an ecommerce order or product. */ export type EcommerceDiscount = { /** * The code used to apply the discount. */ code?: string | null | undefined; /** * The fixed amount of the discount. */ amount?: string | null | undefined; /** * The percentage of the discount. */ percentage?: string | null | undefined; }; /** @internal */ export declare const EcommerceDiscount$inboundSchema: z.ZodType; export declare function ecommerceDiscountFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=ecommercediscount.d.ts.map