TripSearchResultTransfer

TripSearchResultTransfer

Trip Search Result Transfer

This Class represents a Transfer between two Trip Search Result Segments in a Trip Search Result. The Transfer Class contains information on the Transfer Stop, the arrival and departure times to/from the Transfer Stop and the layover time spent at the Transfer Stop.

Module: search/TripSearchResultTransfer

Constructor

new TripSearchResultTransfer(stop, arrival, departure)

Source:

Create a new Trip Search Result Transfer at the specified Transfer Stop with the provided arrival and departure times.

Parameters:
Name Type Description
stop Stop

Transfer Stop

arrival DateTime

Arrival Date/Time

departure DateTime

Departure Date/Time

Members

arrival :DateTime

Source:

The Arrival Date/Time to the Transfer Stop

Type:

departure :DateTime

Source:

The Departure Date/Time from the Transfer Stop

Type:

layoverTime :number

Source:

The Layover Time (minutes) spent at the Transfer Stop

Type:
  • number

stop :Stop

Source:

The Transfer Stop

Type: