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.


Properties

code: string

amount: number

type: 'percentage' | 'fixed'