Members
-
segments :Array.<TripSearchResultSegment>
-
Description
The Trip Search Result Segments
Details
-
length :int
-
Description
The number of Trip Search Result Segments in this Result
Details
-
origin :StopTime
-
Description
The StopTime of the Trip Search's Origin Stop
Details
-
destination :StopTime
-
Description
The StopTime of the Trip Search's Destination Stop
Details
-
travelTime :int
-
Description
Total Travel Time (in minutes) - includes all segments and layovers
Details
-
transfers :Array.<TripSearchResultTransfer>
-
Description
List of Transfers
Details
Methods
-
<static> sortByDeparture( a, b ) → {number}
-
Description
Sort Trip Search Results by their departure from the Origin
Parameters
Name Type Description a
TripSearchResult first TripSearchResult
b
TripSearchResult second TripSearchResult
Returns
Details