Skip to content
Docs
Reference

Interface: CartLineCheck

Interface: CartLineCheck in @ticketlayer/live.

@ticketlayer/live


@ticketlayer/live / index / CartLineCheck

Defined in: core/liveClient.ts:56

One cart line's check after signing in (TKT-369). Live attaches the session's open cart to the customer who signed in and backstage-api re-evaluates every line for them: ok and repriced lines are still buyable (at unitPrice, a face value in minor units); an unavailable line stays in the cart with the buyer's reason (TAG_REQUIRED, SALE_CLOSED, SALE_NOT_OPEN, SOLD_OUT or NOT_AVAILABLE), and checkout will refuse it until it is removed.

Properties#

itemId#

itemId: string;

Defined in: core/liveClient.ts:57


previousUnitPrice#

previousUnitPrice: number | null;

Defined in: core/liveClient.ts:61


reason#

reason: string | null;

Defined in: core/liveClient.ts:59


status#

status: "ok" | "repriced" | "unavailable";

Defined in: core/liveClient.ts:58


unitPrice#

unitPrice: number;

Defined in: core/liveClient.ts:60