Trip
Trip Class - comprises of the Flight duration and Array of Slice object
Test:
Constructor Summary
Public Constructor | ||
public |
constructor(missedConnections: boolean, passengerCounts: object, data: string, slices: object[]) |
Public Constructors
public constructor(missedConnections: boolean, passengerCounts: object, data: string, slices: object[]) source
Override:
Slice#constructorParams:
Name | Type | Attribute | Description |
missedConnections | boolean | - |
|
passengerCounts | object | Passenger count object having the total count of travelling passengers. |
|
data | string | [OPTIONAL] any client specific key-value pair specific to trip. |
|
slices | object[] | Slice object having trip info. Trip can have multiple slices. |