BookingRule
A single booking rule defining how to book a ride for specific zones.
Constructors
Properties
Indicates how far in advance booking can be made.
URL to an online interface or app where the booking request can be made.
Functions in the same way as message but used when riders have on-demand drop off only.
One or many zone IDs from zones.json that cover the area of the pickup location for this booking rule.
URL providing information about the booking rule.
Phone number to call to make the booking request.
Functions in the same way as message but used when riders have on-demand pickup only.
Indicates the service days on which prior_notice_last_day or prior_notice_start_day are counted. If empty, prior_notice_start_day=2 will be two calendar days in advance. If defined as a calendar_id containing only business days (weekdays without holidays), prior_notice_start_day=2 will be two business days in advance. Optional if booking_type=2. Forbidden otherwise.
Maximum number of minutes before travel to make the booking request. Optional for same-day booking with advance notice (booking_type=1). Forbidden otherwise.
Minimum number of minutes before travel to make the request. Required for same-day booking with advance notice (booking_type=1). Forbidden otherwise.
Last day before travel to make the booking request (e.g. "Ride must be booked 1 day in advance before 5PM" will be encoded as prior_notice_last_day=1). Required for prior day(s) booking (booking_type=2). Forbidden otherwise.
Last time on the last day before travel to make the booking request (e.g. "Ride must be booked 1 day in advance before 5PM" will be encoded as prior_notice_last_time=17:00:00). Required if prior_notice_last_day is defined. Forbidden otherwise.
Earliest day before travel to make the booking request (e.g. "Ride can be booked at the earliest one week in advance at midnight" will be encoded as prior_notice_start_day=7). Forbidden for real-time booking (booking_type=0). Forbidden for same-day booking with advance notice (booking_type=1) if prior_notice_duration_max is defined. Optional otherwise.
Earliest time on the earliest day before travel to make the booking request (e.g. "Ride can be booked at the earliest one week in advance at midnight" will be encoded as prior_notice_start_time=00:00:00). Forbidden for real-time booking (booking_type=0). Required if prior_notice_start_day is defined. Forbidden otherwise.
One or many zone IDs from zones.json that cover the area of the destination for this booking rule.