Create a PTTrip.
API users do not typically create instances of this class directly.
Trip parameters
The agency operating the trip.
OptionaldelayDelay in minutes (may be null).
OptionaldepartureDeparture time (UTC flag, local value).
WARNING: Returned as a Date with UTC flag but representing local time; use TimezoneService to convert if needed.
Whether realtime information is available.
Indicates whether bikes are allowed on the trip.
OptionalisOptional cancellation flag.
Wheelchair accessibility flag.
The route associated with the trip.
Index of the current/selected stop within stopTimes.
OptionalstopPlatform code for the stop (may be null).
The list of stop times for this trip.
Optional ReadonlytripTrip date (UTC flag, local value).
WARNING: Returned as a Date with UTC flag but representing local time; use TimezoneService to convert if needed.
ReadonlytripInternal trip index.
A scheduled public transport trip instance.
Represents a single scheduled run of a route with times, delays, cancellation and accessibility metadata.