amadeus.flightoffersprice
Module amadeus.flightoffersprice
Definitions
![](https://bcentral-packageicons.azureedge.net/images/ballerinax_amadeus.flightoffersprice_1.2.0.png)
ballerinax/amadeus.flightoffersprice Ballerina library
Overview
This is a generated connector for Amadeus Flight Offers Price API OpenAPI specification.
This Amadeus Flight Offers Price API provides the capability to confirm the availability and final price (including taxes and fees) of flights returned by the Flight Offers Search API.
Prerequisites
Before using this connector in your Ballerina application, complete the following:
- Create Amadeus account
- Obtain clientId and clientSecret following this guide
Clients![](/images/permalink.svg)
amadeus.flightoffersprice: Client![](/images/permalink.svg)
This is a generated connector for Amadeus Flight Offers Price API OpenAPI specification. This Amadeus Flight Offers Price API provides the capability to confirm the availability and final price (including taxes and fees) of flights returned by the Flight Offers Search API.
Constructor![](/images/permalink.svg)
Gets invoked to initialize the connector
.
The connector initialization requires clientId and clientSecret.
Please create Amadeus account and Obtain clientId and clientSecret following this guide
init (ConnectionConfig config, string serviceUrl)
- config ConnectionConfig - The configurations to be used when initializing the
connector
- serviceUrl string "https://test.api.amadeus.com/v1" - URL of the target service
quoteAirOffers![](/images/permalink.svg)
function quoteAirOffers(string xHttpMethodOverride, GetPriceQuery payload, string[]? include, boolean forceClass) returns SuccessPricing|error
Confirm pricing of given flightOffers.
Parameters
- xHttpMethodOverride string - the HTTP method to apply
- payload GetPriceQuery - list of criteria to confirm the price of a dedicated flight-offers
- include string[]? (default ()) - Sub-resources to be included: * credit-card-fees to get the credit card fee applied on the booking * bags to get extra bag options * other-services to get services options * detailed-fare-rules to get detailed fare rules options
- forceClass boolean (default false) - parameter to force the usage of booking class for pricing - true, to for pricing with the specified booking class - false, to get the best available price
Return Type
- SuccessPricing|error - Successful Operation
Records![](/images/permalink.svg)
amadeus.flightoffersprice: AdditionalService![](/images/permalink.svg)
Fields
- amount string? -
- 'type AdditionalServiceType? - additional service type
amadeus.flightoffersprice: AdditionalServicesRequest![](/images/permalink.svg)
Fields
- chargeableCheckedBags BaggageAllowance? - baggageAllowance
- chargeableSeatNumber string? - seat number
- otherServices ServiceName[]? - Other services to add
amadeus.flightoffersprice: Address![](/images/permalink.svg)
address information
Fields
- lines string[]? - Line 1 = Street address, Line 2 = Apartment, suite, unit, building, floor, etc
- postalCode string? - Example: 74130
- countryCode string? - country code ISO 3166-1 country code
- cityName string? - Full city name. Example: Dublin
- stateName string? - Full state name
- postalBox string? - E.g. BP 220
amadeus.flightoffersprice: AircraftEntry![](/images/permalink.svg)
Fields
- 'key string? -
amadeus.flightoffersprice: AircraftEquipment![](/images/permalink.svg)
information related to the aircraft
Fields
- code string? - IATA aircraft code (http://www.flugzeuginfo.net/table_accodes_iata_en.php)
amadeus.flightoffersprice: AllotmentDetails![](/images/permalink.svg)
Fields
- tourName string? -
- tourReference string? -
amadeus.flightoffersprice: BaggageAllowance![](/images/permalink.svg)
baggageAllowance
Fields
- quantity int? - Total number of units
- weight int? - Weight of the baggage allowance
- weightUnit string? - Code to qualify unit as pounds or kilos
amadeus.flightoffersprice: Bags![](/images/permalink.svg)
checked bag
Fields
- Fields Included from *BaggageAllowance
- name string? - Type of service
- price ElementaryPrice? - elementaryPrice
- bookableByItinerary boolean? - Specify if the service is bookable by itinerary or for all itineraries
- segmentIds string[]? - Id of the segment concerned by the service
- travelerIds string[]? - Id of the traveler concerned by the service
amadeus.flightoffersprice: BaseName![](/images/permalink.svg)
description of the name of a physical person
Fields
- firstName string? - First name.
- lastName string? - Last name.
- middleName string? - Middle name(s), for example "Lee" in "John Lee Smith".
amadeus.flightoffersprice: BookingRequirements![](/images/permalink.svg)
pricing condition at booking level
Fields
- invoiceAddressRequired boolean? - If true, an invoice address is required for the creation of the flight-order
- mailingAddressRequired boolean? - If true, a postal address is required for the creation of the flight-order
- emailAddressRequired boolean? - If true, an email address is required for the creation of the flight-order
- phoneCountryCodeRequired boolean? - If true, the phone country code (e.g. '33') associated for each phone number is required for the creation of the flight-order
- mobilePhoneNumberRequired boolean? - If true, a mobile phone number is required for the creation of the flight-order
- phoneNumberRequired boolean? - If true, a phone number is required for the creation of the flight-order
- postalCodeRequired boolean? - If true, a postal code is required for the creation of the flight-order
- travelerRequirements PassengerConditions[]? - traveler pricing condition
amadeus.flightoffersprice: CarrierEntry![](/images/permalink.svg)
Fields
- 'key string? -
amadeus.flightoffersprice: ClientHttp1Settings![](/images/permalink.svg)
Provides settings related to HTTP/1.x protocol.
Fields
- keepAlive KeepAlive(default http:KEEPALIVE_AUTO) - Specifies whether to reuse a connection for multiple requests
- chunking Chunking(default http:CHUNKING_AUTO) - The chunking behaviour of the request
- proxy ProxyConfig? - Proxy server related options
amadeus.flightoffersprice: Co2Emission![](/images/permalink.svg)
Fields
- weight int? - Weight of Co2 emitted for the concerned segment
- weightUnit string? - Code to qualify unit as pounds or kilos
- cabin TravelClass? - quality of service offered in the cabin where the seat is located in this flight. Economy, premium economy, business or first class
amadeus.flightoffersprice: ConnectionConfig![](/images/permalink.svg)
Provides a set of configurations for controlling the behaviours when communicating with a remote HTTP endpoint.
Fields
- auth OAuth2ClientCredentialsGrantConfig - Configurations related to client authentication
- httpVersion HttpVersion(default http:HTTP_2_0) - The HTTP version understood by the client
- http1Settings ClientHttp1Settings? - Configurations related to HTTP/1.x protocol
- http2Settings ClientHttp2Settings? - Configurations related to HTTP/2 protocol
- timeout decimal(default 60) - The maximum time to wait (in seconds) for a response before closing the connection
- forwarded string(default "disable") - The choice of setting
forwarded
/x-forwarded
header
- poolConfig PoolConfiguration? - Configurations associated with request pooling
- cache CacheConfig? - HTTP caching related configurations
- compression Compression(default http:COMPRESSION_AUTO) - Specifies the way of handling compression (
accept-encoding
) header
- circuitBreaker CircuitBreakerConfig? - Configurations associated with the behaviour of the Circuit Breaker
- retryConfig RetryConfig? - Configurations associated with retrying
- responseLimits ResponseLimitConfigs? - Configurations associated with inbound response size limits
- secureSocket ClientSecureSocket? - SSL/TLS-related options
- proxy ProxyConfig? - Proxy server related options
- validation boolean(default true) - Enables the inbound payload validation functionality which provided by the constraint package. Enabled by default
amadeus.flightoffersprice: Contact![](/images/permalink.svg)
contact information
Fields
- Fields Included from *ContactDictionary
- addresseeName Name
- address Address
- language string
- purpose ContactPurpose
- anydata...
- phones Phone[]? - Phone numbers
- companyName string? - Name of the company
- emailAddress string? - Email address (e.g. john@smith.com)
amadeus.flightoffersprice: ContactDictionary![](/images/permalink.svg)
represents a contact
Fields
- addresseeName Name? - name
- address Address? - address information
- language string? - the preferred language of communication with this Contact
- purpose ContactPurpose? - the purpose for which this contact is to be used
amadeus.flightoffersprice: CreditCardFee![](/images/permalink.svg)
Fields
- brand PaymentBrand? - credit card brand
- amount string? -
- currency string? -
- flightOfferId string? - Id of the flightOffer concerned by the credit card fee
amadeus.flightoffersprice: CurrencyEntry![](/images/permalink.svg)
Fields
- 'key string? -
amadeus.flightoffersprice: Description![](/images/permalink.svg)
Fields
- descriptionType string? -
- text string? -
amadeus.flightoffersprice: DetailedFareRules![](/images/permalink.svg)
Fields
- fareBasis string? -
- name string? -
- fareNotes TermAndCondition? -
- segmentId string? - Id of the segment concerned by the fare rule
amadeus.flightoffersprice: Dictionaries![](/images/permalink.svg)
Fields
- locations LocationEntry? -
- aircraft AircraftEntry? -
- currencies CurrencyEntry? -
- carriers CarrierEntry? -
amadeus.flightoffersprice: Discount![](/images/permalink.svg)
traveler discount
Fields
- subType DiscountType? - type of discount applied
- cityName string? - city of residence
- travelerType DiscountTravelerType? - type of discount applied
- cardNumber string? - resident card number
- certificateNumber string? - resident certificate number
amadeus.flightoffersprice: Document![](/images/permalink.svg)
the information that are found on an ID document
Fields
- number string? - The document number (shown on the document) . E.g. QFU514563221J
- issuanceDate string? - Date at which the document has been issued.
- expiryDate string? - Date after which the document is not valid anymore.
- issuanceCountry string? - ISO 3166-1 alpha-2 of the country that issued the document
- issuanceLocation string? - A more precise information concerning the place where the document has been issued, when available. It may be a country, a state, a city or any other type of location. e.g. New-York
- nationality string? - ISO 3166-1 alpha-2 of the nationality appearing on the document
- birthPlace string? - Birth place as indicated on the document
amadeus.flightoffersprice: ElementaryPrice![](/images/permalink.svg)
elementaryPrice
Fields
- amount string? - Amount of the fare. could be alpha numeric. Ex- 500.20 or 514.13A, 'A'signifies additional collection.
- currencyCode string? - Currency type of the fare.
amadeus.flightoffersprice: EmergencyContact![](/images/permalink.svg)
emergency contact number
Fields
- addresseeName string? - Adressee name (e.g. in case of emergency purpose it corresponds to name of the person to be contacted).
- countryCode string? - Country code of the country (ISO3166-1). E.g. "US" for the United States
- number string? - Phone number. Composed of digits only. The number of digits depends on the country.
- text string? - additional details
amadeus.flightoffersprice: Error400![](/images/permalink.svg)
Fields
- errors Issue[] -
amadeus.flightoffersprice: Error500![](/images/permalink.svg)
Fields
- errors Issue[] -
amadeus.flightoffersprice: ExtendedPrice![](/images/permalink.svg)
price information
Fields
- margin string? - BOOK step ONLY - The price margin percentage (plus or minus) that the booking can tolerate. When set to 0, then no price magin is tolerated.
- grandTotal string? - Total amount paid by the user (including fees and selected additional services).
- billingCurrency string? - Currency of the payment. It may be different than the requested currency
- additionalServices AdditionalService[]? -
- Fields Included from *Price
amadeus.flightoffersprice: FareDetailsBySegment![](/images/permalink.svg)
Fare details of the segment
Fields
- segmentId string - Id of the segment
- cabin TravelClass? - quality of service offered in the cabin where the seat is located in this flight. Economy, premium economy, business or first class
- fareBasis string? - Fare basis specifying the rules of a fare. Usually, though not always, is composed of the booking class code followed by a set of letters and digits representing other characteristics of the ticket, such as refundability, minimum stay requirements, discounts or special promotional elements.
- brandedFare string? - The name of the Fare Family corresponding to the fares. Only for the GDS provider and if the airline has fare families filled
- 'class string? - The code of the booking class, a.k.a. class of service or Reservations/Booking Designator (RBD)
- isAllotment boolean? - True if the corresponding booking class is in an allotment
- allotmentDetails AllotmentDetails? -
- sliceDiceIndicator SliceDiceIndicator? - slice and Dice indicator, such as Local Availability, Sub OnD(Origin and Destination) 1 Availability and Sub OnD 2 Availability
- includedCheckedBags BaggageAllowance? - baggageAllowance
- additionalServices AdditionalServicesRequest? -
amadeus.flightoffersprice: FareRules![](/images/permalink.svg)
Fields
- currency string? - The currency of the penalties
- rules TermAndCondition[]? -
amadeus.flightoffersprice: Fee![](/images/permalink.svg)
a fee
Fields
- amount string? -
- 'type FeeType? - type of fee
amadeus.flightoffersprice: FlightEndPoint![](/images/permalink.svg)
departure or arrival information
Fields
- Fields Included from *OriginalFlightEndPoint
amadeus.flightoffersprice: FlightOffer![](/images/permalink.svg)
Fields
- 'type string - the resource name
- id string - Id of the flight offer
- 'source FlightOfferSource? - source of the flight offer
- instantTicketingRequired boolean? - If true, inform that a ticketing will be required at booking step.
- disablePricing boolean? - BOOK step ONLY - If true, allows to book a PNR without pricing. Only for the source "GDS"
- nonHomogeneous boolean? - If true, upon completion of the booking, this pricing solution is expected to yield multiple records (a record contains booking information confirmed and stored, typically a Passenger Name Record (PNR), in the provider GDS or system)
- oneWay boolean? - If true, the flight offer fulfills only one originDestination and has to be combined with other oneWays to complete the whole journey.
- paymentCardRequired boolean? - If true, a payment card is mandatory to book this flight offer
- lastTicketingDate string? - If booked on the same day as the search (with respect to timezone), this flight offer is guaranteed to be thereafter valid for ticketing until this date (included). Unspecified when it does not make sense for this flight offer (e.g. no control over ticketing once booked). YYYY-MM-DD format, e.g. 2019-06-07
- numberOfBookableSeats decimal? - Number of seats bookable in a single request. Can not be higher than 9.
- itineraries Itineraries[]? -
- price ExtendedPrice? - price information
- pricingOptions PricingOptions? -
- validatingAirlineCodes string[]? - This option ensures that the system will only consider these airlines.
- travelerPricings TravelerPricing[]? - Fare information for each traveler/segment
amadeus.flightoffersprice: FlightOfferPricingIn![](/images/permalink.svg)
input parameter to price flight offers element
Fields
- 'type string - the resource name
- flightOffers FlightOffer[] - list of flight offer to price
- payments Payment[]? - payment information for retrieve eventual credit card fees
- travelers Traveler[]? - list of travelers
amadeus.flightoffersprice: FlightOfferPricingOut![](/images/permalink.svg)
priced flight Offers and conditions
Fields
- 'type string - the resource name
- flightOffers FlightOffer[] - list of flight offer to price
- bookingRequirements BookingRequirements? - pricing condition at booking level
amadeus.flightoffersprice: FlightSegment![](/images/permalink.svg)
defining a flight segment; including both operating and marketing details when applicable
Fields
- departure FlightEndPoint? - departure or arrival information
- arrival FlightEndPoint? - departure or arrival information
- carrierCode string? - providing the airline / carrier code
- number string? - the flight number as assigned by the carrier
- aircraft AircraftEquipment? - information related to the aircraft
- operating OperatingFlight? - information about the operating flight
- stops FlightStop[]? - information regarding the different stops composing the flight segment. E.g. technical stop, change of gauge...
amadeus.flightoffersprice: FlightStop![](/images/permalink.svg)
details of stops for direct or change of gauge flights
Fields
- Fields Included from *OriginalFlightStop
amadeus.flightoffersprice: GetPriceQuery![](/images/permalink.svg)
Fields
- data FlightOfferPricingIn - input parameter to price flight offers element
amadeus.flightoffersprice: IdentityDocument![](/images/permalink.svg)
documents of the traveler
Fields
- Fields Included from *Document
- documentType DocumentType? - the nature/type of the document
- validityCountry string? - ISO 3166-1 alpha-2 of the country where the document is valid
- birthCountry string? - ISO 3166-1 alpha-2 of the country of birth
- holder boolean? - boolean to specify if the traveler is the holder of the document
amadeus.flightoffersprice: IncludedResourcesMap![](/images/permalink.svg)
Fields
- 'credit\-card\-fees record {}? - Map of fee applied by credit card brand
- bags record {}? - Map of fee applied by bag option
- 'other\-services record {}? - Map of fee applied by service
- 'detailed\-fare\-rules record {}? - Map of fare rules applied by farebasis
amadeus.flightoffersprice: Issue![](/images/permalink.svg)
Fields
- status int? - the HTTP status code applicable to this error
- code int? - an application-specific error code
- title string? - a short summary of the error
- detail string? - explanation of the error
- 'source IssueSource? - an object containing references to the source of the error
amadeus.flightoffersprice: IssueSource![](/images/permalink.svg)
an object containing references to the source of the error
Fields
- pointer string? - a JSON Pointer [RFC6901] to the associated entity in the request document
- 'parameter string? - a string indicating which URI query parameter caused the issue
- example string? - a string indicating an example of the right value
amadeus.flightoffersprice: Itineraries![](/images/permalink.svg)
Fields
- segments Segment[] -
amadeus.flightoffersprice: LocationEntry![](/images/permalink.svg)
Fields
- 'key string? -
amadeus.flightoffersprice: LocationValue![](/images/permalink.svg)
Fields
- cityCode string? - City code associated to the airport
- countryCode string? - Country code of the airport
amadeus.flightoffersprice: LoyaltyProgram![](/images/permalink.svg)
loyalty program information
Fields
- programOwner string? - loyalty program airline code
- id string? - loyalty program number
amadeus.flightoffersprice: Name![](/images/permalink.svg)
name
Fields
- Fields Included from *BaseName
- secondLastName string? - second last name
amadeus.flightoffersprice: OAuth2ClientCredentialsGrantConfig![](/images/permalink.svg)
OAuth2 Client Credentials Grant Configs
Fields
- Fields Included from *OAuth2ClientCredentialsGrantConfig
- tokenUrl string
- clientId string
- clientSecret string
- scopes string[]
- defaultTokenExpTime decimal
- clockSkew decimal
- optionalParams map<string>
- credentialBearer CredentialBearer
- clientConfig ClientConfiguration
- tokenUrl string(default "https://test.api.amadeus.com/v1/security/oauth2/token") - Token URL
amadeus.flightoffersprice: OperatingFlight![](/images/permalink.svg)
information about the operating flight
Fields
- carrierCode string? - providing the airline / carrier code
amadeus.flightoffersprice: OriginalFlightEndPoint![](/images/permalink.svg)
departure or arrival information
Fields
- iataCode string? - IATA airline codes
- terminal string? - terminal name / number
amadeus.flightoffersprice: OriginalFlightStop![](/images/permalink.svg)
details of stops for direct or change of gauge flights
Fields
- iataCode string? - IATA airline codes
amadeus.flightoffersprice: OtherServices![](/images/permalink.svg)
Fields
- name ServiceName? - type of service
- price ElementaryPrice? - elementaryPrice
- bookableByTraveler boolean? - Specify if the service is bookable by traveler or for all travelers
- bookableByItinerary boolean? - Specify if the service is bookable by itinerary or for all itineraries
- segmentIds string[]? - Id of the segment concerned by the service
- travelerIds string[]? - Id of the traveler concerned by the service
amadeus.flightoffersprice: PassengerConditions![](/images/permalink.svg)
Fields
- travelerId string? - Id of the traveler
- genderRequired boolean? - If true, the gender is required for the concerned traveler for the creation of the flight-order
- documentRequired boolean? - If true, a document is required for the concerned traveler for the creation of the flight-order
- documentIssuanceCityRequired boolean? - If true, the isuance city of the document is required for the concerned traveler for the creation of the flight-order
- dateOfBirthRequired boolean? - If true, the date of bitrth is required for the concerned traveler for the creation of the flight-order
- redressRequiredIfAny boolean? - If true, the redress is required if any for the concerned traveler for the creation of the flight-order
- airFranceDiscountRequired boolean? - If true, the Air France discount is required for the concerned traveler for the creation of the flight-order
- spanishResidentDiscountRequired boolean? - If true, the Spanish resident discount is required for the concerned traveler for the creation of the flight-order
- residenceRequired boolean? - If true, the address is required for the concerned traveler for the creation of the flight-order
amadeus.flightoffersprice: Payment![](/images/permalink.svg)
Fields
- brand PaymentBrand? - credit card brand
- binNumber int? - The first 6 digits of the credit card
- flightOfferIds string[]? - Id of the flightOffers to pay
amadeus.flightoffersprice: Phone![](/images/permalink.svg)
phone information
Fields
- deviceType PhoneDeviceType? - Type of the device (Landline, Mobile or Fax)
- countryCallingCode string? - Country calling code of the phone number, as defined by the International Communication Union. Examples - "1" for US, "371" for Latvia.
- number string? - Phone number. Composed of digits only. The number of digits depends on the country.
amadeus.flightoffersprice: Price![](/images/permalink.svg)
Fields
- currency string? -
- total string? - Total amount paid by the user
- base string? - Amount without taxes
- fees Fee[]? - List of applicable fees
- taxes Tax[]? -
- refundableTaxes string? - The amount of taxes which are refundable
amadeus.flightoffersprice: PricingOptions![](/images/permalink.svg)
Fields
- fareType PricingOptionsFareType? - type of fare of the flight-offer
- includedCheckedBagsOnly boolean? - If true, returns the flight-offers with included checked bags only
- refundableFare boolean? - If true, returns the flight-offers with refundable fares only
- noRestrictionFare boolean? - If true, returns the flight-offers with no restriction fares only
- noPenaltyFare boolean? - If true, returns the flight-offers with no penalty fares only
amadeus.flightoffersprice: ProxyConfig![](/images/permalink.svg)
Proxy server configurations to be used with the HTTP client endpoint.
Fields
- host string(default "") - Host name of the proxy server
- port int(default 0) - Proxy server port
- userName string(default "") - Proxy server username
- password string(default "") - Proxy server password
amadeus.flightoffersprice: Segment![](/images/permalink.svg)
Fields
- id string? - Id of the segment
- numberOfStops int? - Number of stops
- blacklistedInEU boolean? - When the flight has a marketing or/and operating airline that is identified as blacklisted by the European Commission. To improve travel safety, the European Commission regularly updates the list of the banned carriers from operating in Europe. It allows any Travel Agency located in the European Union to easily identify and hide any travel recommendation based on some unsafe airlines. The list of the banned airlines is published in the Official Journal of the European Union, where they are included as annexes A and B to the Commission Regulation. The blacklist of an airline can concern all its flights or some specific aircraft types pertaining to the airline
- co2Emissions Co2Emission[]? - Co2 informations
- Fields Included from *FlightSegment
- departure FlightEndPoint
- arrival FlightEndPoint
- carrierCode string
- number string
- aircraft AircraftEquipment
- operating OperatingFlight
- duration string
- stops FlightStop[]
- anydata...
amadeus.flightoffersprice: Stakeholder![](/images/permalink.svg)
stakeholder definition
Fields
- id string? - item identifier
- dateOfBirth string? - The date of birth in ISO 8601 format (yyyy-mm-dd)
- gender StakeholderGender? - The gender
- name Name? - name
- documents IdentityDocument[]? - Advanced Passenger Information - regulatory identity documents - SSR DOCS & DOCO elements
amadeus.flightoffersprice: SuccessPricing![](/images/permalink.svg)
Fields
- warnings Issue[]? -
- data FlightOfferPricingOut - priced flight Offers and conditions
- included IncludedResourcesMap? -
- dictionaries Dictionaries? -
amadeus.flightoffersprice: Tax![](/images/permalink.svg)
a tax
Fields
- amount string? -
- code string? -
amadeus.flightoffersprice: TermAndCondition![](/images/permalink.svg)
Fields
- category string? - This defines what type of modification is concerned in this rule.
- circumstances string? -
- notApplicable boolean? -
- maxPenaltyAmount string? -
- descriptions Description[]? -
amadeus.flightoffersprice: Traveler![](/images/permalink.svg)
the traveler of the trip
Fields
- Fields Included from *Stakeholder
- id string
- dateOfBirth string
- gender StakeholderGender
- name Name
- documents IdentityDocument[]
- anydata...
- emergencyContact EmergencyContact? - emergency contact number
- loyaltyPrograms LoyaltyProgram[]? - list of loyalty program followed by the traveler
- discountEligibility Discount[]? - list of element that allow a discount.
- contact Contact? - contact information
amadeus.flightoffersprice: TravelerPricing![](/images/permalink.svg)
Fields
- travelerId string - Id of the traveler
- fareOption TravelerPricingFareOption - option specifying a group of fares, which may be valid under certain conditons Can be used to specify special fare discount for a passenger
- travelerType TravelerType - traveler type age restrictions : CHILD < 12y, HELD_INFANT < 2y, SEATED_INFANT < 2y, SENIOR >=60y
- associatedAdultId string? - if type="HELD_INFANT", corresponds to the adult traveler's id who will share the seat
- price Price? -
- fareDetailsBySegment FareDetailsBySegment[] -
String types![](/images/permalink.svg)
amadeus.flightoffersprice: AdditionalServiceType![](/images/permalink.svg)
AdditionalServiceType
additional service type
amadeus.flightoffersprice: ContactPurpose![](/images/permalink.svg)
ContactPurpose
the purpose for which this contact is to be used
amadeus.flightoffersprice: DiscountTravelerType![](/images/permalink.svg)
DiscountTravelerType
type of discount applied
amadeus.flightoffersprice: DiscountType![](/images/permalink.svg)
DiscountType
type of discount applied
amadeus.flightoffersprice: DocumentType![](/images/permalink.svg)
DocumentType
the nature/type of the document
amadeus.flightoffersprice: FeeType![](/images/permalink.svg)
FeeType
type of fee
amadeus.flightoffersprice: FlightOfferSource![](/images/permalink.svg)
FlightOfferSource
source of the flight offer
amadeus.flightoffersprice: PaymentBrand![](/images/permalink.svg)
PaymentBrand
credit card brand
amadeus.flightoffersprice: PhoneDeviceType![](/images/permalink.svg)
PhoneDeviceType
Type of the device (Landline, Mobile or Fax)
amadeus.flightoffersprice: ServiceName![](/images/permalink.svg)
ServiceName
type of service
amadeus.flightoffersprice: SliceDiceIndicator![](/images/permalink.svg)
SliceDiceIndicator
slice and Dice indicator, such as Local Availability, Sub OnD(Origin and Destination) 1 Availability and Sub OnD 2 Availability
amadeus.flightoffersprice: StakeholderGender![](/images/permalink.svg)
StakeholderGender
The gender
amadeus.flightoffersprice: TravelClass![](/images/permalink.svg)
TravelClass
quality of service offered in the cabin where the seat is located in this flight. Economy, premium economy, business or first class
amadeus.flightoffersprice: TravelerPricingFareOption![](/images/permalink.svg)
TravelerPricingFareOption
option specifying a group of fares, which may be valid under certain conditons Can be used to specify special fare discount for a passenger
amadeus.flightoffersprice: TravelerType![](/images/permalink.svg)
TravelerType
traveler type age restrictions : CHILD < 12y, HELD_INFANT < 2y, SEATED_INFANT < 2y, SENIOR >=60y
Import
import ballerinax/amadeus.flightoffersprice;
Metadata
Released date: almost 2 years ago
Version: 1.2.0
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.2.1
GraalVM compatible: Yes
Pull count
Total: 83
Current verison: 13
Weekly downloads
Keywords
Sales & CRM/Scheduling & Booking
Cost/Freemium
Contributors