Start time
A package start time with aggregated availability and pricing across the searched packages.
A package start time with aggregated availability and pricing across the searched packages.
Retrieved from the result.start_times assign on pages using
PackagesSearchAndCalendarTag.
Properties
availability_status
A high-level availability signal for this start time, so themes can show "limited"/"running low" states without deriving them from the raw remaining count.
Returns: String — one of "available", "limited", or "sold_out".
See also: StockManagement::AvailabilityStatus
date
The calendar date for this start time.
Returns: Date
initialize
Returns: StartTimeDrop — a new instance of StartTimeDrop
limited
Whether stock is running low but not yet sold out. Convenience
predicate over #availability_status.
Returns: Boolean
price
The minimum price across available packages in the current currency.
Returns: VariantPriceDrop or nil — nil when there is no current currency
or no packages are available at this time.
{{ start_time.price.fractional | money }}remaining_stock
Total remaining stock across all packages at this start time.
Returns: Integer or nil — nil when any package has infinite stock.
sold_out
Whether no packages are available at this start time.
Returns: Boolean
starting_stock
Total initial stock across all packages at this start time.
Returns: Integer or nil — nil when any package has infinite stock.
tags
Tag categories and their values for packages available at this start time.
Returns: Array (TagCategoryDrop)
time
The start time in 24-hour format.
Returns: String — e.g. "09:00".