import { AirSegment } from './AirSegment'; import { TravelProduct } from './TravelProduct'; import { TravelProductProperties } from './TravelProduct'; export declare class Air extends TravelProduct { /** * Local date and time of departure from original departure location, in ISO-8601 date and time format `yyyy-MM-ddTHH:mm:ss.SSSZ`. */ departureTime: Date; /** * Local date and time of arrival to final destination location, in ISO-8601 date and time format `yyyy-MM-ddTHH:mm:ss.SSSZ`. */ arrivalTime: Date; /** * Additional airline and flight details for each of the trip segments. */ airSegments: Array; /** * Identifies the type of air trip based on the air destinations. */ flightType?: AirFlightTypeEnum; /** * Airline booking confirmation code for the trip. */ passengerNameRecord?: string; /** * Associated with Passenger Name Record (PNR). */ globalDistributionSystemType?: string; readonly type = "AIR"; constructor(air: AirProperties); } export type AirFlightTypeEnum = 'ROUNDTRIP' | 'ONEWAY' | 'MULTIPLE_DESTINATION'; export interface AirProperties extends TravelProductProperties { departureTime: Date; arrivalTime: Date; airSegments: Array; flightType?: AirFlightTypeEnum; passengerNameRecord?: string; globalDistributionSystemType?: string; }