FlexSearchResponseOffersInnerOfferSegmentsInnerSegmentLegsInnerLeg

Container information on each flight leg.

Parameters

departureAirport
arrivalAirport
departureDateTime

Flight departure date and time in ISO 8601 format

arrivalDateTime

Flight landing date and time in ISO 8601 format

flightNumber

Flight Number assigned by Carrier.

marketingAirlineCode

The two-letter code of the Airline that is marketing the flight.

flightDuration

The total travel duration for this leg, expressed in ISO 8601 standard.

cabinClass

Class of service for the air leg.

operatingAirlineCode

The two-letter code of the Airline actually operating the plane.

Types

Link copied to clipboard
public final class Builder
Link copied to clipboard

Class of service for the air leg. Values: ECONOMY,FIRST,BUSINESS,PREMIUM_ECONOMY

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@NotNull()
@Valid()
private final String flightDuration
Link copied to clipboard
@NotNull()
@Valid()
private final String flightNumber
Link copied to clipboard
@NotNull()
@Valid()
private final String marketingAirlineCode
Link copied to clipboard
@Valid()
private final String operatingAirlineCode

Functions