Class Itinerary extends TravelObject

This class represent an itinerary

Source : file data/Itinerary.js at line 39

Constructor

new Itinerary ( )

The constructor

Source : file data/Itinerary.js at line 111

Public getters and setters

get ascent : Number

The ascent of the Itinerary when a profile exists, otherwise ZERO

Source : file data/Itinerary.js at line 132

set ascent

Source : file data/Itinerary.js at line 134

get descent : Number

The descent of the Itinerary when a profile exists, otherwise ZERO

Source : file data/Itinerary.js at line 143

set descent

Source : file data/Itinerary.js at line 145

get hasProfile : Boolean

A boolean set to true when the itinerary have a profile

Source : file data/Itinerary.js at line 121

set hasProfile

Source : file data/Itinerary.js at line 123

readonly get itineraryPoints : Collection of ItineraryPoint

A Collection of ItineraryPoints

Source : file data/Itinerary.js at line 176

get jsonObject : JsonObject

An object literal with the Itinerary properties and without any methods. This object can be used with the JSON object

Source : file data/Itinerary.js at line 205

set jsonObject

Source : file data/Itinerary.js at line 218

readonly get maneuvers : Collection of Maneuver

A Collection of Maneuvers

Source : file data/Itinerary.js at line 183

readonly get objId : Number

The objId of the Itinerary. objId are unique identifier given by the code

Source : file data/Itinerary.js at line 197

readonly get objType : ObjType

The ObjType of the Itinerary.

Source : file data/Itinerary.js at line 190

get provider : String

The provider name used for this Itinerary

Source : file data/Itinerary.js at line 154

set provider

Source : file data/Itinerary.js at line 156

get transitMode : String

The transit mode used for this Itinerary

Source : file data/Itinerary.js at line 165

set transitMode

Source : file data/Itinerary.js at line 167

Private properties

#ascent : Number

The ascent of the Itinerary when a profile exists, otherwise ZERO

Source : file data/Itinerary.js at line 70

#descent : Number

The descent of the Itinerary when a profile exists, otherwise ZERO

Source : file data/Itinerary.js at line 77

#hasProfile : Boolean

A boolean set to true when the itinerary have a profile

Source : file data/Itinerary.js at line 63

#itineraryPoints : Collection of ItineraryPoint

A Collection of ItineraryPoints

Source : file data/Itinerary.js at line 98

#maneuvers : Collection of Maneuver

A Collection of Maneuvers

Source : file data/Itinerary.js at line 105

#objId : Number

The objId of the Itinerary

Source : file data/Itinerary.js at line 56

static #objType : ObjType

The object type for itineraries

Source : file data/Itinerary.js at line 46

#provider : String

The provider name used for this Itinerary

Source : file data/Itinerary.js at line 84

#transitMode : String

The transit mode used for this Itinerary

Source : file data/Itinerary.js at line 91