ItineraryResult interface
An interface representing ItineraryResult.
Properties
arrival |
The date and time of arrival at the destination point in ISO 8601 format, e.g. 1996-12-19T19:39:57-08:00. |
departure |
The date and time of departure from the origin point in ISO 8601 format, e.g. 1996-12-19T16:39:57-08:00. |
itinerary |
A unique identifier of the returned itinerary. |
legs | An array summarizing the legs of this itinerary. |
number |
Number of legs. |
travel |
Estimated travel time in seconds. |
Property Details
arrivalTime
The date and time of arrival at the destination point in ISO 8601 format, e.g. 1996-12-19T19:39:57-08:00.
arrivalTime?: Date
Property Value
Date
departureTime
The date and time of departure from the origin point in ISO 8601 format, e.g. 1996-12-19T16:39:57-08:00.
departureTime?: Date
Property Value
Date
itineraryId
A unique identifier of the returned itinerary.
itineraryId?: string
Property Value
string
legs
An array summarizing the legs of this itinerary.
legs?: RouteItineraryLeg[]
Property Value
numberOfLegs
Number of legs.
numberOfLegs?: number
Property Value
number
travelTimeInSeconds
Estimated travel time in seconds.
travelTimeInSeconds?: number
Property Value
number