FlightSearchResponse

public final class FlightSearchResponse

Parameters

offers

Container for list of air offers. An offer gives total trip details including flight and pricing information.

searchCities

Container for list of Information about each search locations

transactionId

Unique Id to identify one individual API response.

insights
warnings

Container for warning messages.

segments

Container of information about each flight offer (Less information shown if the offer is and opaque flight offer) Flights (the complete journey to your final destination by air) are made up of: Segments (the trip from one stopping place to another) are made up of: Legs (take off at one airport and land at another)

validFormsOfPayment

Container for fees that are charged for using certain payment methods. Since the method of payment is not known until time of booking, these fees are returned separately and not included in the total price

lounges

List of lounges

Constructors

Link copied to clipboard
public FlightSearchResponse FlightSearchResponse(List<FlightsV3Offer> offers, List<FlightsV3Airport> searchCities, String transactionId, Insights insights, List<FlightsV3Warning> warnings, List<Segment> segments, Map<String, List<AirValidFormsOfPayment>> validFormsOfPayment, Map<String, List<Lounge>> lounges)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final Insights insights
Link copied to clipboard
@Valid()
private final Map<String, List<Lounge>> lounges
Link copied to clipboard
@NotNull()
@Valid()
private final List<FlightsV3Offer> offers
Link copied to clipboard
@NotNull()
@Valid()
private final List<FlightsV3Airport> searchCities
Link copied to clipboard
@Valid()
private final List<Segment> segments
Link copied to clipboard
@NotNull()
@Valid()
private final String transactionId
Link copied to clipboard
Link copied to clipboard
@Valid()
private final List<FlightsV3Warning> warnings

Functions

Link copied to clipboard
public final static FlightSearchResponse.Builder builder()
Link copied to clipboard
public final Insights getInsights()
Link copied to clipboard
public final Map<String, List<Lounge>> getLounges()
Link copied to clipboard
public final List<FlightsV3Offer> getOffers()
Link copied to clipboard
Link copied to clipboard
public final List<Segment> getSegments()
Link copied to clipboard
public final String getTransactionId()
Link copied to clipboard
Link copied to clipboard