Package booking

A customer's choices while booking a package.

A customer's choices while booking a package. Retrieved from item.package_booking on cart items, or as package_booking on package booking pages.

Properties

adult_count

The number of guests the customer is booking the package for.

Returns: Integer or nil

id

The package booking's unique identifier.

Returns: String — a UUID.

package

The package being booked.

Returns: PackageDrop

selected_start_date

The customer's chosen start date for the package. Use with Liquid's date filter to format for display.

Returns: Date or nil — nil when no date has been chosen.

selected_start_time

The customer's chosen start time for the package.

Returns: String or nil — 24-hour clock time in HH:MM format (e.g. 09:30), or nil when no time has been chosen.

On this page