Interface: PricedCart
Defined in: shared/checkout/priced-cart.ts:87
Properties
adjustments
adjustments: PricedAdjustment[];Defined in: shared/checkout/priced-cart.ts:93
cartId?
optional cartId?: string;Defined in: shared/checkout/priced-cart.ts:88
currencyCode
currencyCode: string;Defined in: shared/checkout/priced-cart.ts:91
customerId?
optional customerId?: string;Defined in: shared/checkout/priced-cart.ts:90
customerTotalCents
customerTotalCents: number;Defined in: shared/checkout/priced-cart.ts:100
What the customer owes: subtotalCents + Σ(customer-borne adjustments WHERE NOT (kind=tax ∧ taxInclusive)).
lineItems
lineItems: PricedLineItem[];Defined in: shared/checkout/priced-cart.ts:92
organizationId
organizationId: string;Defined in: shared/checkout/priced-cart.ts:89
orgBorneTotalCents
orgBorneTotalCents: number;Defined in: shared/checkout/priced-cart.ts:106
Σ of organization-borne adjustment amountCents only — no subtotal
component (asymmetric with customerTotalCents, which adds
subtotalCents). NOT (kind=tax ∧ taxInclusive) rows are excluded.
platformBorneTotalCents
platformBorneTotalCents: number;Defined in: shared/checkout/priced-cart.ts:112
Σ of platform-borne adjustment amountCents only — no subtotal
component (asymmetric with customerTotalCents, which adds
subtotalCents). NOT (kind=tax ∧ taxInclusive) rows are excluded.
subtotalCents
subtotalCents: number;Defined in: shared/checkout/priced-cart.ts:95
Σ line subtotalCents (pre line-level adjustments).