Slice
Direct Subclass:
A slice represents a traveller's intent, the portion of a low-fare search corresponding to a traveler's request to get between two points. One-way journeys are generally expressed using 1 slice, round-trips using 2. The slices make up a trip's itinerary.
Test:
Constructor Summary
Public Constructor | ||
public |
constructor(duration: number, segment: object[]) |