Constructor
new TripSearchResultSegment(trip, enter, exit)
- Source:
Create a new Trip Search Result Segment from the provided Trip
Parameters:
Name | Type | Description |
---|---|---|
trip |
Trip | The Trip that makes up this Segment |
enter |
Stop | string | The Stop or Stop ID where the Segment starts |
exit |
Stop | string | The Stop or Stop ID where the Segment ends |
Members
destination :StopTime
- Source:
The Trip Destination StopTime
Type:
enter :StopTime
- Source:
The StopTime where the Segment starts
Type:
exit :StopTime
- Source:
The StopTime where the Segment ends
Type:
origin :StopTime
- Source:
The Trip Origin StopTime
Type:
travelTime :number
- Source:
Travel Time (in minutes) on this Segment
Type:
- number
trip :Trip
- Source:
The Trip that makes up this Segment