AirSegment

public AirSegment AirSegment(String airlineCode, String departureAirportCode, String arrivalAirportCode, OffsetDateTime departureTime, OffsetDateTime arrivalTime)

Parameters

airlineCode

Airline code of the trip segment

departureAirportCode

Departure airport of the trip segment

arrivalAirportCode

Arrival airport of the trip segment

departureTime

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

arrivalTime

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