Kaizen
Browse modulesPricingpricing/sharedInterfaces

Interface: TierQuantityLine

Defined in: shared/pricing/tier-quantity-limits.ts:41

One priced line in the order/reservation being validated.

Properties

quantity

quantity: number;

Defined in: shared/pricing/tier-quantity-limits.ts:50

The quantity this line contributes, in the tier's own pricing unit — the same scalar calculatePrices multiplies each action's amount_cents by (tickets, attendees, hours, …). The caller resolves it the same way its pricing call does; this module deliberately does no unit math of its own.


rateTierId

rateTierId: string;

Defined in: shared/pricing/tier-quantity-limits.ts:43

The PricingRateTiers row this line's price came from.

On this page