ItineraryResult interface

An interface representing ItineraryResult.

Properties

arrivalTime

The date and time of arrival at the destination point in ISO 8601 format, e.g. 1996-12-19T19:39:57-08:00.

departureTime

The date and time of departure from the origin point in ISO 8601 format, e.g. 1996-12-19T16:39:57-08:00.

itineraryId

A unique identifier of the returned itinerary.

legs

An array summarizing the legs of this itinerary.

numberOfLegs

Number of legs.

travelTimeInSeconds

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