Skip to content

BookingSeatAdditionPreview

What adding places to a party would cost the viewer. See Booking.seatAdditionPreview.

Fields

chargedBoolean!

Whether adding them charges the viewer now. False for staff, who add at no charge, and for a queued party, which pays when it is let in.

amountInt!

What the places cost, in cents, tax included. For the viewer who pays (charged) it's what they'll pay now; for staff it's what charging for them would add to the order. 0 when there's nothing to charge.

chargeableBoolean!

Whether staff can charge for the places: the booking has a completed order to bill, and they cost something. Always false for the buyer.

currencyString!
placesLeftInt

Places the session has left, or null when it has no limit (or the party is queued, where the limit doesn't apply yet).

What the places are, one line per thing sold: a line per ticket type on a session that sells them ("Adult × 2"), one line otherwise. Each line's amount is before tax; tax is the rest of amount.

taxInt!

The tax in amount, in cents.

taxBreakdown[TaxBreakdownLine!]!

tax by jurisdiction, each with its rate — GST and QST at a Quebec venue — priced by the same tax engine as the checkout, and reconciled to tax the way an order's Purchase.taxBreakdown is: whatever the lines leave of tax is the reader's "Other tax". Empty when nothing is taxed, or the tax provider gave no split.

Used in