Coupon
interface Coupon {
code: string;
amount: number;
type: 'percentage' | 'fixed';
}Source: global.ts:1821
Legacy coupon shape kept for backward compatibility. New code uses AppliedCoupon / DiscountDefinition.
interface Coupon {
code: string;
amount: number;
type: 'percentage' | 'fixed';
}Source: global.ts:1821
Legacy coupon shape kept for backward compatibility. New code uses AppliedCoupon / DiscountDefinition.
code: stringamount: numbertype: 'percentage' | 'fixed'