GetFlightListingsOperationParams

Constructors

Link copied to clipboard
public GetFlightListingsOperationParams GetFlightListingsOperationParams(String partnerTransactionID, Integer adult, Integer senior, List<Integer> childrenAges, Integer infantInLap, Integer infantInSeat, String segment1Origin, String segment1Destination, LocalDate segment1DepartureDate, String segment1DepartureStartTime, String segment1DepartureEndTime, String segment2Origin, String segment2Destination, LocalDate segment2DepartureDate, String segment2DepartureStartTime, String segment2DepartureEndTime, String segment3Origin, String segment3Destination, LocalDate segment3DepartureDate, String segment3DepartureStartTime, String segment3DepartureEndTime, String segment4Origin, String segment4Destination, LocalDate segment4DepartureDate, String segment4DepartureStartTime, String segment4DepartureEndTime, String segment5Origin, String segment5Destination, LocalDate segment5DepartureDate, String segment5DepartureStartTime, String segment5DepartureEndTime, String segment6Origin, String segment6Destination, LocalDate segment6DepartureDate, String segment6DepartureStartTime, String segment6DepartureEndTime, String locale, GetFlightListingsOperationParams.CabinClass cabinClass, Integer numberOfStops, String sortType, Integer limit, List<String> selectedCarriers, List<String> accountCodes, Boolean agent, List<GetFlightListingsOperationParams.Links> links, Boolean refundable, Boolean filterNearByAirport, Boolean filterBasicEconomy, GetFlightListingsOperationParams.AnchorBy anchorBy, String selectedOffer, Boolean filterNonFlightOffers, Boolean enableSplitTicket)

Types

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

Properties

Link copied to clipboard
@Valid()
private final List<String> accountCodes

AlphaNumeric characters. Different codes separated by comma

Link copied to clipboard
@Valid()
private final Integer adult

Number of Adult Travelers. Either one adult or one senior per itinerary is mandatory

Link copied to clipboard
@Valid()
private final Boolean agent

Designates whether a telesales agent was involved in the transaction. true = telesales agent involved false = no telesales agent involved

Link copied to clipboard

Designates that the user is doing a Multi-step Search. Possible values are: segment1 | segment2 | segment3 | segment4 | segment5

Link copied to clipboard

The desired cabin classes that the user would like to see offers for. Options can be: economy | first | business | premiumeconomy

Link copied to clipboard
@Valid()
private final List<Integer> childrenAges

Comma-separated list of the ages of all child travelers (ages 2 - 17).

Link copied to clipboard
@Valid()
private final Boolean enableSplitTicket

if set to false, this parameter will filter out all the split ticket solutions from the Flight Offers. If set to true (by default it will be true), API response will include split ticket solutions if split ticket is enabled at key configuration level as well.

Link copied to clipboard
@Valid()
private final Boolean filterBasicEconomy

Filters out all the Basic Economy fare solutions in the flight search response. Note: default = false

Link copied to clipboard
@Valid()
private final Boolean filterNearByAirport

Filters nearby airports ensuring only results from the requests airport code are returned. This request param is valid only for AirportCode-based searches. Note: default = false

Link copied to clipboard
@Valid()
private final Boolean filterNonFlightOffers

If set to true, this parameter filters out all non-Flight Offers (offers with any of the legs comprising transit via Train, Bus or Boat) from flight search response. If the parameter is not present or is set to false, then Flight Offers may contain travel legs via means other than flight (Train, Bus or Boat). Default value is false

Link copied to clipboard
@Valid()
private final Integer infantInLap

Number of Infant travelers without a reserved seat. Age should be less than 2

Link copied to clipboard
@Valid()
private final Integer infantInSeat

Number of Infant travelers with reserved seat. Age should be less than 2

Link copied to clipboard
@Valid()
private final Integer limit

The maximum number of Flight offers returned in the response. Must be an integer value greater than 0.Note: default = 1600

Link copied to clipboard

Comma-separated list that indicates which HATEOAS links should be included in the response. WD (Website Details Page - included by default) AD (Details API link) ABF (Baggage Fee API) ASM (Seat Map API) WPS (Web Package Search)

Link copied to clipboard
@Valid()
private final String locale

Indicates the language and country with which the user would like to see any translated information.

Link copied to clipboard
@Valid()
private final Integer numberOfStops

Filter for the number of stops the user would like to see offers for. A value of 0 returns only non-stop flights in the search response, and a value of 1 returns offers

Link copied to clipboard
@NotNull()
@Valid()
private final String partnerTransactionID

Partner-generated identifier.

Link copied to clipboard
@Valid()
private final Boolean refundable

Refundable solutions will be returned if and only if we pass refundable as true in the request.(refundable=true). (Not Yet Supported in Production)

Link copied to clipboard
@NotNull()
@Valid()
private final LocalDate segment1DepartureDate

Date, in ISO format YYYY-MM-DD, on which customer wants to depart.

Link copied to clipboard
@Valid()
private final String segment1DepartureEndTime

Upper limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard
@Valid()
private final String segment1DepartureStartTime

Lower limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard
@NotNull()
@Valid()
private final String segment1Destination

3-letter IATA Airport code/Location name from where the passenger is arriving.

Link copied to clipboard
@NotNull()
@Valid()
private final String segment1Origin

3-letter IATA Airport code/Location name from where the passenger is departing.

Link copied to clipboard
@Valid()
private final LocalDate segment2DepartureDate

Date, in ISO format YYYY-MM-DD, on which customer wants to depart.

Link copied to clipboard
@Valid()
private final String segment2DepartureEndTime

Upper limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard
@Valid()
private final String segment2DepartureStartTime

Lower limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard
@Valid()
private final String segment2Destination

3-letter IATA Airport code/Location name from where the passenger is arriving.

Link copied to clipboard
@Valid()
private final String segment2Origin

3-letter IATA Airport code/Location name from where the passenger is departing.

Link copied to clipboard
@Valid()
private final LocalDate segment3DepartureDate

Date, in ISO format YYYY-MM-DD, on which customer wants to depart.

Link copied to clipboard
@Valid()
private final String segment3DepartureEndTime

Upper limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard
@Valid()
private final String segment3DepartureStartTime

Lower limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard
@Valid()
private final String segment3Destination

3-letter IATA Airport code/Location name from where the passenger is arriving.

Link copied to clipboard
@Valid()
private final String segment3Origin

3-letter IATA Airport code/Location name from where the passenger is departing.

Link copied to clipboard
@Valid()
private final LocalDate segment4DepartureDate

Date, in ISO format YYYY-MM-DD, on which customer wants to depart.

Link copied to clipboard
@Valid()
private final String segment4DepartureEndTime

Upper limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard
@Valid()
private final String segment4DepartureStartTime

Lower limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard
@Valid()
private final String segment4Destination

3-letter IATA Airport code/Location name from where the passenger is arriving.

Link copied to clipboard
@Valid()
private final String segment4Origin

3-letter IATA Airport code/Location name from where the passenger is departing.

Link copied to clipboard
@Valid()
private final LocalDate segment5DepartureDate

Date, in ISO format YYYY-MM-DD, on which customer wants to depart.

Link copied to clipboard
@Valid()
private final String segment5DepartureEndTime

Upper limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard
@Valid()
private final String segment5DepartureStartTime

Lower limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard
@Valid()
private final String segment5Destination

3-letter IATA Airport code/Location name from where the passenger is arriving.

Link copied to clipboard
@Valid()
private final String segment5Origin

3-letter IATA Airport code/Location name from where the passenger is departing.

Link copied to clipboard
@Valid()
private final LocalDate segment6DepartureDate

Date, in ISO format YYYY-MM-DD, on which customer wants to depart.

Link copied to clipboard
@Valid()
private final String segment6DepartureEndTime

Upper limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard
@Valid()
private final String segment6DepartureStartTime

Lower limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard
@Valid()
private final String segment6Destination

3-letter IATA Airport code/Location name from where the passenger is arriving.

Link copied to clipboard
@Valid()
private final String segment6Origin

3-letter IATA Airport code/Location name from where the passenger is departing.

Link copied to clipboard
@Valid()
private final List<String> selectedCarriers

Adding comma-separated list of IATA or Expedia airline codes will limit the search results to include flight offers only with the selected carriers.

Link copied to clipboard
@Valid()
private final String selectedOffer

Captures the previously selected flight segments during a Multi-step Search.

Link copied to clipboard
@Valid()
private final Integer senior

Number of Senior (age 65) Travelers

Link copied to clipboard
@Valid()
private final String sortType

Sort the search results according to one selected category. Only sort by price is supported at this time. Note: default = Price

Functions

Link copied to clipboard
Link copied to clipboard
public final List<String> getAccountCodes()

AlphaNumeric characters. Different codes separated by comma

Link copied to clipboard
public final Integer getAdult()

Number of Adult Travelers. Either one adult or one senior per itinerary is mandatory

Link copied to clipboard
public final Boolean getAgent()

Designates whether a telesales agent was involved in the transaction. true = telesales agent involved false = no telesales agent involved

Link copied to clipboard

Designates that the user is doing a Multi-step Search. Possible values are: segment1 | segment2 | segment3 | segment4 | segment5

Link copied to clipboard

The desired cabin classes that the user would like to see offers for. Options can be: economy | first | business | premiumeconomy

Link copied to clipboard
public final List<Integer> getChildrenAges()

Comma-separated list of the ages of all child travelers (ages 2 - 17).

Link copied to clipboard

if set to false, this parameter will filter out all the split ticket solutions from the Flight Offers. If set to true (by default it will be true), API response will include split ticket solutions if split ticket is enabled at key configuration level as well.

Link copied to clipboard

Filters out all the Basic Economy fare solutions in the flight search response. Note: default = false

Link copied to clipboard

Filters nearby airports ensuring only results from the requests airport code are returned. This request param is valid only for AirportCode-based searches. Note: default = false

Link copied to clipboard

If set to true, this parameter filters out all non-Flight Offers (offers with any of the legs comprising transit via Train, Bus or Boat) from flight search response. If the parameter is not present or is set to false, then Flight Offers may contain travel legs via means other than flight (Train, Bus or Boat). Default value is false

Link copied to clipboard
public Headers getHeaders()
Link copied to clipboard
public final Integer getInfantInLap()

Number of Infant travelers without a reserved seat. Age should be less than 2

Link copied to clipboard
public final Integer getInfantInSeat()

Number of Infant travelers with reserved seat. Age should be less than 2

Link copied to clipboard
public final Integer getLimit()

The maximum number of Flight offers returned in the response. Must be an integer value greater than 0.Note: default = 1600

Link copied to clipboard

Comma-separated list that indicates which HATEOAS links should be included in the response. WD (Website Details Page - included by default) AD (Details API link) ABF (Baggage Fee API) ASM (Seat Map API) WPS (Web Package Search)

Link copied to clipboard
public final String getLocale()

Indicates the language and country with which the user would like to see any translated information.

Link copied to clipboard
public final Integer getNumberOfStops()

Filter for the number of stops the user would like to see offers for. A value of 0 returns only non-stop flights in the search response, and a value of 1 returns offers

Link copied to clipboard

Partner-generated identifier.

Link copied to clipboard
Link copied to clipboard
public Parameters getQueryParams()
Link copied to clipboard
public final Boolean getRefundable()

Refundable solutions will be returned if and only if we pass refundable as true in the request.(refundable=true). (Not Yet Supported in Production)

Link copied to clipboard

Date, in ISO format YYYY-MM-DD, on which customer wants to depart.

Link copied to clipboard

Upper limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard

Lower limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard

3-letter IATA Airport code/Location name from where the passenger is arriving.

Link copied to clipboard
public final String getSegment1Origin()

3-letter IATA Airport code/Location name from where the passenger is departing.

Link copied to clipboard

Date, in ISO format YYYY-MM-DD, on which customer wants to depart.

Link copied to clipboard

Upper limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard

Lower limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard

3-letter IATA Airport code/Location name from where the passenger is arriving.

Link copied to clipboard
public final String getSegment2Origin()

3-letter IATA Airport code/Location name from where the passenger is departing.

Link copied to clipboard

Date, in ISO format YYYY-MM-DD, on which customer wants to depart.

Link copied to clipboard

Upper limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard

Lower limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard

3-letter IATA Airport code/Location name from where the passenger is arriving.

Link copied to clipboard
public final String getSegment3Origin()

3-letter IATA Airport code/Location name from where the passenger is departing.

Link copied to clipboard

Date, in ISO format YYYY-MM-DD, on which customer wants to depart.

Link copied to clipboard

Upper limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard

Lower limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard

3-letter IATA Airport code/Location name from where the passenger is arriving.

Link copied to clipboard
public final String getSegment4Origin()

3-letter IATA Airport code/Location name from where the passenger is departing.

Link copied to clipboard

Date, in ISO format YYYY-MM-DD, on which customer wants to depart.

Link copied to clipboard

Upper limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard

Lower limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard

3-letter IATA Airport code/Location name from where the passenger is arriving.

Link copied to clipboard
public final String getSegment5Origin()

3-letter IATA Airport code/Location name from where the passenger is departing.

Link copied to clipboard

Date, in ISO format YYYY-MM-DD, on which customer wants to depart.

Link copied to clipboard

Upper limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard

Lower limit of desired departure time window, expressed in the local time of the departure location, in standard ISO format.

Link copied to clipboard

3-letter IATA Airport code/Location name from where the passenger is arriving.

Link copied to clipboard
public final String getSegment6Origin()

3-letter IATA Airport code/Location name from where the passenger is departing.

Link copied to clipboard

Adding comma-separated list of IATA or Expedia airline codes will limit the search results to include flight offers only with the selected carriers.

Link copied to clipboard
public final String getSelectedOffer()

Captures the previously selected flight segments during a Multi-step Search.

Link copied to clipboard
public final Integer getSenior()

Number of Senior (age 65) Travelers

Link copied to clipboard
public final String getSortType()

Sort the search results according to one selected category. Only sort by price is supported at this time. Note: default = Price

Link copied to clipboard