The booking object

The booking object allows you to manage bookings for a transaction.

Attributes
id integer
The unique id for the booking object.
item object
The item associated with the booking, an instance of the item object.
time object
The time associated with the booking, an instance of the time object
booking_date date
The date of the booking.
booking_time time
The time of the booking.
booking_end time
The end time of the booking.
duration positive integer
The duration of the booking.
total_quantity positive integer
The total quantity of spaces for the booking.
quantities array_objects
The quantities of item pricing categories for this booking.
extras array_objects
The item extras for this booking.
extras_total positive float or zero
The total of extras for a booking.
price positive float or zero
The booking subtotal.
discount positive float or zero
The total discount value of the booking.
fee positive float or zero
The fee value of the booking.
tax positive float or zero
The tax value of the booking.
total positive float or zero
The total for the booking.
status string
The status of the booking.
participants array_objects
The participants for this booking.