FlightsV3Offer

public final class FlightsV3Offer

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

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.

links

Container for deeplink URL information.

segmentIds

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

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

offerToken

Unique key to identify each offer.

referenceId

Unique key to identify matching private fares.

metaApiBook

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

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.

free24HourCancellation

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

vfopKey

Key generated for Valid form of payment

refundPenalty

Contains refund penalty information

ticketType

Type of ticket being issued

Constructors

Link copied to clipboard
public FlightsV3Offer FlightsV3Offer(Boolean splitTicket, Map<String, FlightsV3Link> links, List<String> segmentIds, OfferPrice offerPrice, Boolean refundable, Boolean international, String offerToken, String referenceId, Boolean metaApiBook, Boolean opaqueFlight, Boolean free24HourCancellation, String vfopKey, List<FlightsV3OfferRefundPenaltyInner> refundPenalty, String ticketType)

Types

Link copied to clipboard
public final class Builder

Properties

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
@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
@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
@NotNull()
@Valid()
private final List<String> segmentIds
Link copied to clipboard
@NotNull()
@Valid()
private final Boolean splitTicket
Link copied to clipboard
@Valid()
private final String ticketType
Link copied to clipboard
@Valid()
private final String vfopKey

Functions

Link copied to clipboard
public final static FlightsV3Offer.Builder builder()
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 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
public final String getVfopKey()
Link copied to clipboard