AirAllOf

public final class AirAllOf

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).

Constructors

Link copied to clipboard
public AirAllOf AirAllOf(OffsetDateTime departureTime, OffsetDateTime arrivalTime, List<AirSegment> airSegments, AirAllOf.FlightType flightType, String passengerNameRecord, String globalDistributionSystemType)

Types

Link copied to clipboard
public final class Builder
Link copied to clipboard
public enum FlightType extends Enum<AirAllOf.FlightType>

Identifies the type of air trip based on the air destinations. Values: ROUNDTRIP,ONEWAY,MULTIPLE_DESTINATION

Properties

Link copied to clipboard
@Size(min = 1, max = 30)
@NotNull()
@Valid()
private final List<AirSegment> airSegments
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Length(max = 100)
@Valid()
private final String globalDistributionSystemType
Link copied to clipboard
@Length(max = 100)
@Valid()
private final String passengerNameRecord

Functions

Link copied to clipboard
public final static AirAllOf.Builder builder()
Link copied to clipboard
public final List<AirSegment> getAirSegments()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final AirAllOf.Builder toBuilder()