Interface: PricedLineItem
Defined in: shared/checkout/priced-cart.ts:39
Properties
description?
optional description?: string;Defined in: shared/checkout/priced-cart.ts:45
glCode?
optional glCode?: string;Defined in: shared/checkout/priced-cart.ts:61
metadata?
optional metadata?: Record<string, unknown>;Defined in: shared/checkout/priced-cart.ts:60
name
name: string;Defined in: shared/checkout/priced-cart.ts:44
quantity
quantity: number;Defined in: shared/checkout/priced-cart.ts:46
referenceId?
optional referenceId?: string | null;Defined in: shared/checkout/priced-cart.ts:43
Consumer row id behind the concept; null/absent = ad-hoc/custom line.
referenceType
referenceType: string;Defined in: shared/checkout/priced-cart.ts:41
Consumer concept this line snapshots ('membership', 'program_registration', …).
revenueAccount?
optional revenueAccount?: string;Defined in: shared/checkout/priced-cart.ts:62
subtotalCents
subtotalCents: number;Defined in: shared/checkout/priced-cart.ts:59
Unit × qty, PRE line-level adjustments (= LineCalculation.base_cents).
Line-level FEE/DISCOUNT deltas live as separate PricedAdjustment
rows, so they are deliberately NOT baked in here — otherwise the
additive total invariant (customerTotal = subtotal + Σ customer-borne adjustments) would double-count them.
unitAmountCents
unitAmountCents: number;Defined in: shared/checkout/priced-cart.ts:51
Receipt-level display price per unit. subtotalCents stays
authoritative — derived division can round.