FlightDetailsOffer

public final class FlightDetailsOffer

Contains list of all the available alternate fare upsell/downsell offers.

Parameters

splitTicket

True if more that one ticket will be issued for this offer per passenger. False if only one ticket will be issued per passenger.

opaqueFlight

Indicate whether the air product is a opaque flight product or not. If true, then there will be no Segments node for this air product.

merchantName

All Merchant name appending them together with a ?*?

links

Container for deeplink URL information.

offerPrice
refundable

True if flight is refundable, False if it's not refundable.

international

True, if flight is international. False, if flight departs and arrives within the same country

ticketType

Type of ticket being issued

fareOptions

Contains list of fare options

undisclosedGenderSupported

Whether to support undisclosed gender? True = support False = not support

unspecifiedGenderSupported

Whether to support unspecified gender? True = support False = not support

offerToken

Unique key to identify each offer.

referenceId

Key that allows the user to create a package using this flight.

metaApiBook

To indicate meta partners whether the air product is available for TAAS instant book.

free24HourCancellation

True if Booking can be cancelled within 24 hours of booking.

segmentIds

Container for list of segment ids in a particular offer. For Opaque flight, no segment will be present.

vfopKey

Key generated for Valid form of payment

refundPenalty

Contains refund penalty information

Constructors

Link copied to clipboard
public FlightDetailsOffer FlightDetailsOffer(Boolean splitTicket, Boolean opaqueFlight, String merchantName, Map<String, FlightsV3Link> links, OfferPrice offerPrice, Boolean refundable, Boolean international, String ticketType, List<FareOptions> fareOptions, Boolean undisclosedGenderSupported, Boolean unspecifiedGenderSupported, String offerToken, String referenceId, Boolean metaApiBook, Boolean free24HourCancellation, List<String> segmentIds, String vfopKey, List<FlightDetailsRefundPenalty> refundPenalty)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@NotNull()
@Valid()
private final List<FareOptions> fareOptions
Link copied to clipboard
@Valid()
private final Boolean free24HourCancellation
Link copied to clipboard
@NotNull()
@Valid()
private final Boolean international
Link copied to clipboard
@NotNull()
@Valid()
private final Map<String, FlightsV3Link> links
Link copied to clipboard
@NotNull()
@Valid()
private final String merchantName
Link copied to clipboard
@Valid()
private final Boolean metaApiBook
Link copied to clipboard
@NotNull()
@Valid()
private final OfferPrice offerPrice
Link copied to clipboard
@Valid()
private final String offerToken
Link copied to clipboard
@NotNull()
@Valid()
private final Boolean opaqueFlight
Link copied to clipboard
@Valid()
private final String referenceId
Link copied to clipboard
@NotNull()
@Valid()
private final Boolean refundable
Link copied to clipboard
Link copied to clipboard
@Valid()
private final List<String> segmentIds
Link copied to clipboard
@NotNull()
@Valid()
private final Boolean splitTicket
Link copied to clipboard
@NotNull()
@Valid()
private final String ticketType
Link copied to clipboard
@NotNull()
@Valid()
private final Boolean undisclosedGenderSupported
Link copied to clipboard
@NotNull()
@Valid()
private final Boolean unspecifiedGenderSupported
Link copied to clipboard
@Valid()
private final String vfopKey

Functions

Link copied to clipboard
public final static FlightDetailsOffer.Builder builder()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Boolean getInternational()
Link copied to clipboard
public final Map<String, FlightsV3Link> getLinks()
Link copied to clipboard
public final String getMerchantName()
Link copied to clipboard
public final Boolean getMetaApiBook()
Link copied to clipboard
public final OfferPrice getOfferPrice()
Link copied to clipboard
public final String getOfferToken()
Link copied to clipboard
public final Boolean getOpaqueFlight()
Link copied to clipboard
public final String getReferenceId()
Link copied to clipboard
public final Boolean getRefundable()
Link copied to clipboard
Link copied to clipboard
public final List<String> getSegmentIds()
Link copied to clipboard
public final Boolean getSplitTicket()
Link copied to clipboard
public final String getTicketType()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final String getVfopKey()
Link copied to clipboard