Air

public Air Air(Amount price, String inventoryType, TravelProduct.InventorySource inventorySource, OffsetDateTime departureTime, OffsetDateTime arrivalTime, List<AirSegment> airSegments, List<String> travelersReferences, Boolean payLater, Boolean refundable, Air.FlightType flightType, String passengerNameRecord, String globalDistributionSystemType)

Parameters

departureTime

Local date and time of departure from original departure location, in ISO-8601 date and time format yyyy-MM-ddTHH:mm:ss.SSSZ.

arrivalTime

Local date and time of arrival to final destination location, in ISO-8601 date and time format yyyy-MM-ddTHH:mm:ss.SSSZ.

airSegments

Additional airline and flight details for each of the trip segments.

flightType

Identifies the type of air trip based on the air destinations.

passengerNameRecord

Airline booking confirmation code for the trip.

globalDistributionSystemType

Associated with Passenger Name Record (PNR).