Skip to content
Docs
Reference

Interface: BestAvailableOption

Interface: BestAvailableOption in @ticketlayer/live.

@ticketlayer/live


@ticketlayer/live / index / BestAvailableOption

Defined in: seating.ts:213

One option. The rank and the score are never in it (contract section 8); reasons are public codes, the facet's first (best_available, cheaper, closer, further_back, raised_view, on_aisle, other_area), then why the engine chose the block (fills_gap, keeps_row_sellable, split_rows...).

Properties#

aisle#

aisle: boolean;

Defined in: seating.ts:225


areaId#

areaId: string;

Defined in: seating.ts:221


categoryId#

categoryId: string | null;

Defined in: seating.ts:218


currency#

currency: string | null;

Defined in: seating.ts:232


distance#

distance: number;

Defined in: seating.ts:227

Mean metres from the focal point.


each#

each: number;

Defined in: seating.ts:229

Fees included, minor units, per ticket.


facet#

facet: string;

Defined in: seating.ts:215

best, value, closer, further, aisle, area or more.


facts#

facts: {
  closerBy?: number;
  furtherBy?: number;
  savingEach?: number;
};

Defined in: seating.ts:234

What makes the facet true, relative to the first option.

closerBy?#

optional closerBy?: number;

furtherBy?#

optional furtherBy?: number;

savingEach?#

optional savingEach?: number;

reasons#

reasons: string[];

Defined in: seating.ts:216


rows#

rows: string[];

Defined in: seating.ts:222


seats#

seats: BestAvailableSeat[];

Defined in: seating.ts:217


sectionId#

sectionId: string;

Defined in: seating.ts:219


sectionName#

sectionName: string;

Defined in: seating.ts:220


split#

split: number;

Defined in: seating.ts:224

Rows the party is split across; 1 is together in one row.


total#

total: number;

Defined in: seating.ts:231

Fees included, minor units, the block.