GetFlightsFarecalendarOperationParams

Constructors

Link copied to clipboard
public GetFlightsFarecalendarOperationParams GetFlightsFarecalendarOperationParams(String partnerTransactionID, String segment1Origin, String segment1Destination, String segment2Origin, String segment2Destination, LocalDate departureDate, GetFlightsFarecalendarOperationParams.Trip trip, Boolean includeSegmentDetails)

Types

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

Properties

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

Designates the date which decides the fare calendar response. For One Way trips, the response shows offers with price from departureDate till departureDate + 60 days For RoundTrip, If the trip=outbound, then the response shows offers with price from departureDate of outbound segment till departureDate + 60 days. If the trip=inbound, then the response shows offers with price from departureDate of inbound segment till departureDate + 14 days.

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

If the user wants to know the segment details of the offer then they can send this param as true and will get the segment and leg level details in the response. By default this will be set as false.

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

Partner-generated identifier.

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

3-letter IATA Airport code or location name from where the passenger is arriving.

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

3-letter IATA Airport code or location name from where the passenger is departing.

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

3-letter IATA Airport code or location name from where the passenger is arriving in the second segment.

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

3-letter IATA Airport code or location name from where the passenger is departing in the second segment.

Link copied to clipboard

Required for RoundTrip for identifying whether we are requesting for inbound or outbound. Possible values : inbound outbound

Functions

Link copied to clipboard
Link copied to clipboard
public final LocalDate getDepartureDate()

Designates the date which decides the fare calendar response. For One Way trips, the response shows offers with price from departureDate till departureDate + 60 days For RoundTrip, If the trip=outbound, then the response shows offers with price from departureDate of outbound segment till departureDate + 60 days. If the trip=inbound, then the response shows offers with price from departureDate of inbound segment till departureDate + 14 days.

Link copied to clipboard
public Headers getHeaders()
Link copied to clipboard

If the user wants to know the segment details of the offer then they can send this param as true and will get the segment and leg level details in the response. By default this will be set as false.

Link copied to clipboard

Partner-generated identifier.

Link copied to clipboard
Link copied to clipboard
public Parameters getQueryParams()
Link copied to clipboard

3-letter IATA Airport code or location name from where the passenger is arriving.

Link copied to clipboard
public final String getSegment1Origin()

3-letter IATA Airport code or location name from where the passenger is departing.

Link copied to clipboard

3-letter IATA Airport code or location name from where the passenger is arriving in the second segment.

Link copied to clipboard
public final String getSegment2Origin()

3-letter IATA Airport code or location name from where the passenger is departing in the second segment.

Link copied to clipboard

Required for RoundTrip for identifying whether we are requesting for inbound or outbound. Possible values : inbound outbound

Link copied to clipboard