amadeus.flightcreateorders
Module amadeus.flightcreateorders
Definitions
![](https://bcentral-dev-packageicons.azureedge.net/images/ballerinax_amadeus.flightcreateorders_1.3.0.png)
ballerinax/amadeus.flightcreateorders Ballerina library
Overview
This is a generated connector for Amadeus Flight Create Orders API OpenAPI specification.
This Amadeus Flight Create Orders API provides the capability to perform the final booking for a chosen flight. Use this after completing a flight search with Flight Offers Search and confirming real-time price and availability with Flight Offers Price. Refer flight booking flow.
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.flightcreateorders: Client![](/images/permalink.svg)
This is a generated connector for Amadeus Flight Create Orders API OpenAPI specification. This Amadeus Flight Create Orders API provides the capability to perform the final booking for a chosen flight. Use this after completing a flight search with Flight Offers Search and confirming real-time price and availability with Flight Offers Price.
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
createFlightOrders![](/images/permalink.svg)
function createFlightOrders(FlightOrderQuery payload) returns SuccessBooking|error
Create Order associated to the Flight offers.
Parameters
- payload FlightOrderQuery - list of element needed to book a flight Order
Return Type
- SuccessBooking|error - Successful Operation
Records![](/images/permalink.svg)
amadeus.flightcreateorders: AdditionalService![](/images/permalink.svg)
Fields
- amount string? -
- 'type AdditionalServiceType? - additional service type
amadeus.flightcreateorders: AdditionalServicesRequest![](/images/permalink.svg)
Fields
- chargeableCheckedBags BaggageAllowance? - baggageAllowance
- chargeableSeatNumber string? - seat number
- otherServices ServiceName[]? - Other services to add
amadeus.flightcreateorders: Address![](/images/permalink.svg)
address information
Fields
- lines string[]? - Line 1 = Street address, Line 2 = Apartment, suite, unit, building, floor, etc Each line is limited to 35 characters
- 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.flightcreateorders: AircraftEntry![](/images/permalink.svg)
Fields
- 'key string? -
amadeus.flightcreateorders: 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.flightcreateorders: AirlineRemark![](/images/permalink.svg)
Fields
- subType AirlineRemarkType - airline remark type
- keyword string? - keyword code - only applicable for subType Keyword
- airlineCode string - Code of the airline following IATA standard (IATA table codes) When it apply to any airline, value is YY.
- text string - remark free text
- travelerIds string[]? - Id of the concerned traveler
- flightOfferIds string[]? - Id of the concern flightOffers
amadeus.flightcreateorders: AirTravelDocument![](/images/permalink.svg)
ticket information
Fields
- Fields Included from *AirTravelDocumentCommon
- travelerId string? - id of the impacted traveler
- segmentIds string[]? - Ids of the impacted segments
amadeus.flightcreateorders: AirTravelDocumentCommon![](/images/permalink.svg)
Fields
- documentType string? - Type of the travel document
- documentNumber string? - Identifier of the travel document prefixed by its owner code [NALC - 3 digits]. Can either be a primary or a conjunctive document number. Necessary for TicketingReference definition.
- documentStatus string? - Status of the travel document contained in the fare element
amadeus.flightcreateorders: AllotmentDetails![](/images/permalink.svg)
Fields
- tourName string? -
- tourReference string? -
amadeus.flightcreateorders: AssociatedRecord![](/images/permalink.svg)
record associated to the order
Fields
- Fields Included from *AssociatedRecordCommon
- flightOfferId string? - id of the impacted flight offer
amadeus.flightcreateorders: AssociatedRecordCommon![](/images/permalink.svg)
describes the relation between the current reservation and another one
Fields
- reference string? - Record locator [Amadeus or OA] with which the current reservation is related. In case of a codeshare relation, it enables to identify the operating PNR.
- originSystemCode string? - Designates the system which has originated the referenced reservation.
amadeus.flightcreateorders: AutomatedProcess![](/images/permalink.svg)
automatic process applied to the Order
Fields
- Fields Included from *AutomatedProcessCommon
- code AutomatedProcessCode
- queue Queue
- text string
- anydata...
- delay string? - Delay before applying process in days
- officeId string? - Office into which the process must be triggered.
- dateTime string? - Datetime limit at which the process takes action in case issuance is not done.
amadeus.flightcreateorders: AutomatedProcessCommon![](/images/permalink.svg)
Provides information on ticketing arrangements and Amadeus Time Limits
Fields
- code AutomatedProcessCode? - queuing action to be taken
- queue Queue? - Identifies the queue onto which PNR must be automatically placed upon process execution.
- text string? - Free text
amadeus.flightcreateorders: B2bWallet![](/images/permalink.svg)
b2b wallet
Fields
- cardId string? - card identifier
- cardUsageName string? - card usage name
- cardFriendlyName string? - card name
- reportingData ReportingData[]? -
- virtualCreditCardDetails VirtualCreditCardDetails? - detail information of the virtual card
- flightOfferIds string[]? - Id of the concern flightOffers
amadeus.flightcreateorders: 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.flightcreateorders: 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.flightcreateorders: CarrierEntry![](/images/permalink.svg)
Fields
- 'key string? -
amadeus.flightcreateorders: 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.flightcreateorders: 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.flightcreateorders: CollectionLinks![](/images/permalink.svg)
Fields
- self string? -
- next string? -
- previous string? -
- last string? -
- first string? -
- up string? -
amadeus.flightcreateorders: CollectionMetaLink![](/images/permalink.svg)
Fields
- count int? -
- links CollectionLinks? -
amadeus.flightcreateorders: 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.flightcreateorders: 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.flightcreateorders: 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.
- STANDARD for standard use, comunication, advertissement etc...
- INVOICE for your invoice contact, usually its your billing adress. it's mandatory in france when you buy online
- STANDARD_WITHOUT_TRANSMISSION is standard contact that are not share with third party outside of Amadeus
amadeus.flightcreateorders: CreditCard![](/images/permalink.svg)
credit card
Fields
- Fields Included from *CreditCardCommon
- brand CreditCardBrand
- holder string
- number string
- expiryDate string
- anydata...
- securityCode string? - card security code
- flightOfferIds string[]? - Id of the concern flightOffers
amadeus.flightcreateorders: CreditCardCommon![](/images/permalink.svg)
credit card common attribute
Fields
- brand CreditCardBrand? - credit card brand
- holder string? - card holder as on the card
- number string? - card number
amadeus.flightcreateorders: CurrencyEntry![](/images/permalink.svg)
Fields
- 'key string? -
amadeus.flightcreateorders: Dictionaries![](/images/permalink.svg)
Fields
- locations LocationEntry? -
- aircraft AircraftEntry? -
- currencies CurrencyEntry? -
- carriers CarrierEntry? -
amadeus.flightcreateorders: 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.flightcreateorders: 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.flightcreateorders: 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.flightcreateorders: 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.flightcreateorders: Error400![](/images/permalink.svg)
Fields
- errors Issue[] -
amadeus.flightcreateorders: Error500![](/images/permalink.svg)
Fields
- errors Issue[] -
amadeus.flightcreateorders: 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.flightcreateorders: 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.flightcreateorders: Fee![](/images/permalink.svg)
a fee
Fields
- amount string? -
- 'type FeeType? - type of fee
amadeus.flightcreateorders: FlightEndPoint![](/images/permalink.svg)
departure or arrival information
Fields
- Fields Included from *OriginalFlightEndPoint
amadeus.flightcreateorders: 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.flightcreateorders: FlightOrder![](/images/permalink.svg)
input parameter to create a flight order
Fields
- 'type string - the resource name
- id string? - unique identifier of the flight order
- queuingOfficeId string? - office Id where to queue the order
- ownerOfficeId string? - office Id where will be transfered the ownership of the order
- associatedRecords AssociatedRecord[]? - list of associated record
- flightOffers FlightOffer[] - list of flight offer
- travelers Traveler[] - list of travelers
- remarks Remarks? - remarks
- formOfPayments FormOfPayment[]? - list of form of payments
- ticketingAgreement TicketingAgreement? - ticketing agreement
- automatedProcess AutomatedProcess[]? - list of automatic queuing
- contacts Contact[] - list of general contact information
- tickets AirTravelDocument[]? - list of tickets
amadeus.flightcreateorders: FlightOrderQuery![](/images/permalink.svg)
Fields
- data FlightOrder? - input parameter to create a flight order
amadeus.flightcreateorders: 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.flightcreateorders: FlightStop![](/images/permalink.svg)
details of stops for direct or change of gauge flights
Fields
- Fields Included from *OriginalFlightStop
amadeus.flightcreateorders: FormOfPayment![](/images/permalink.svg)
form of payment used
Fields
- b2bWallet B2bWallet? - b2b wallet
- creditCard CreditCard? - credit card
- other OtherMethod? - other payment method
amadeus.flightcreateorders: GeneralRemark![](/images/permalink.svg)
Fields
- subType GeneralRemarkType - general remark type
- category string? - remark category
- text string - remark free text
- travelerIds string[]? - Id of the concerned traveler
- flightOfferIds string[]? - Id of the concern flightOffers
amadeus.flightcreateorders: 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.flightcreateorders: 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.flightcreateorders: 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.flightcreateorders: Itineraries![](/images/permalink.svg)
Fields
- segments Segment[] -
amadeus.flightcreateorders: LocationEntry![](/images/permalink.svg)
Fields
- 'key string? -
amadeus.flightcreateorders: LocationValue![](/images/permalink.svg)
Fields
- cityCode string? - City code associated to the airport
- countryCode string? - Country code of the airport
amadeus.flightcreateorders: LoyaltyProgram![](/images/permalink.svg)
loyalty program information
Fields
- programOwner string? - loyalty program airline code
- id string? - loyalty program number
amadeus.flightcreateorders: Name![](/images/permalink.svg)
name
Fields
- Fields Included from *BaseName
- secondLastName string? - second last name
amadeus.flightcreateorders: OAuth2ClientCredentialsGrantConfig![](/images/permalink.svg)
OAuth2 Client Credentials Grant Configs
Fields
- Fields Included from *OAuth2ClientCredentialsGrantConfig
- tokenUrl string(default "https://test.api.amadeus.com/v1/security/oauth2/token") - Token URL
amadeus.flightcreateorders: OperatingFlight![](/images/permalink.svg)
information about the operating flight
Fields
- carrierCode string? - providing the airline / carrier code
amadeus.flightcreateorders: OriginalFlightEndPoint![](/images/permalink.svg)
departure or arrival information
Fields
- iataCode string? - IATA airline codes
- terminal string? - terminal name / number
amadeus.flightcreateorders: OriginalFlightStop![](/images/permalink.svg)
details of stops for direct or change of gauge flights
Fields
- iataCode string? - IATA airline codes
amadeus.flightcreateorders: OtherMethod![](/images/permalink.svg)
other payment method
Fields
- method OtherPaymentMethod? - other payment method
- flightOfferIds string[]? - Id of the concern flightOffers
amadeus.flightcreateorders: 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.flightcreateorders: 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.flightcreateorders: 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.flightcreateorders: 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.flightcreateorders: Queue![](/images/permalink.svg)
Identifies the queue onto which PNR must be automatically placed upon process execution.
Fields
- number string? -
- category string? -
amadeus.flightcreateorders: Remarks![](/images/permalink.svg)
remarks
Fields
- general GeneralRemark[]? - list of general remarks
- airline AirlineRemark[]? - list of airline remarks
amadeus.flightcreateorders: ReportingData![](/images/permalink.svg)
Fields
- name string? -
- value string? -
amadeus.flightcreateorders: 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.flightcreateorders: 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? - Gender for individual
- name Name - name
- documents IdentityDocument[]? - Advanced Passenger Information - regulatory identity documents - SSR DOCS & DOCO elements
amadeus.flightcreateorders: SuccessBooking![](/images/permalink.svg)
Fields
- meta CollectionMetaLink? -
- warnings Issue[]? -
- data FlightOrder - input parameter to create a flight order
- dictionaries Dictionaries? -
amadeus.flightcreateorders: Tax![](/images/permalink.svg)
a tax
Fields
- amount string? -
- code string? -
amadeus.flightcreateorders: TicketingAgreement![](/images/permalink.svg)
ticketing agreement
Fields
- option TicketingAgreementOption? - Ticketing agreement option
- CONFIRM, when the payment is done
- DELAY_TO_QUEUE, queue the reservation at a wished date if the payment is not done
- DELAY_TO_CANCEL, cancel the reservation at a wished date if the payment is not done
- delay string? - Delay before applying automatic process if no issuance in days
- dateTime string? - Exact date to apply automatic process if no issuance. YYYY-MM-DD format, e.g. 2019-06-07
- segmentIds string[]? - Ids of the impacted segments
amadeus.flightcreateorders: 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.flightcreateorders: 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[] -
amadeus.flightcreateorders: VirtualCreditCardDetails![](/images/permalink.svg)
detail information of the virtual card
Fields
- Fields Included from *CreditCardCommon
- brand CreditCardBrand
- holder string
- number string
- expiryDate string
- anydata...
- Fields Included from *ElementaryPrice
String types![](/images/permalink.svg)
amadeus.flightcreateorders: AdditionalServiceType![](/images/permalink.svg)
AdditionalServiceType
additional service type
amadeus.flightcreateorders: AirlineRemarkType![](/images/permalink.svg)
AirlineRemarkType
airline remark type
amadeus.flightcreateorders: AutomatedProcessCode![](/images/permalink.svg)
AutomatedProcessCode
queuing action to be taken
amadeus.flightcreateorders: ContactPurpose![](/images/permalink.svg)
ContactPurpose
the purpose for which this contact is to be used.
- STANDARD for standard use, comunication, advertissement etc...
- INVOICE for your invoice contact, usually its your billing adress. it's mandatory in france when you buy online
- STANDARD_WITHOUT_TRANSMISSION is standard contact that are not share with third party outside of Amadeus
amadeus.flightcreateorders: CreditCardBrand![](/images/permalink.svg)
CreditCardBrand
credit card brand
amadeus.flightcreateorders: DiscountTravelerType![](/images/permalink.svg)
DiscountTravelerType
type of discount applied
amadeus.flightcreateorders: DiscountType![](/images/permalink.svg)
DiscountType
type of discount applied
amadeus.flightcreateorders: DocumentType![](/images/permalink.svg)
DocumentType
the nature/type of the document
amadeus.flightcreateorders: FeeType![](/images/permalink.svg)
FeeType
type of fee
amadeus.flightcreateorders: FlightOfferSource![](/images/permalink.svg)
FlightOfferSource
source of the flight offer
amadeus.flightcreateorders: GeneralRemarkType![](/images/permalink.svg)
GeneralRemarkType
general remark type
amadeus.flightcreateorders: OtherPaymentMethod![](/images/permalink.svg)
OtherPaymentMethod
other payment method
amadeus.flightcreateorders: PhoneDeviceType![](/images/permalink.svg)
PhoneDeviceType
Type of the device (Landline, Mobile or Fax)
amadeus.flightcreateorders: ServiceName![](/images/permalink.svg)
ServiceName
type of service
amadeus.flightcreateorders: 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.flightcreateorders: StakeholderGender![](/images/permalink.svg)
StakeholderGender
Gender for individual
amadeus.flightcreateorders: TicketingAgreementOption![](/images/permalink.svg)
TicketingAgreementOption
Ticketing agreement option
- CONFIRM, when the payment is done
- DELAY_TO_QUEUE, queue the reservation at a wished date if the payment is not done
- DELAY_TO_CANCEL, cancel the reservation at a wished date if the payment is not done
Queueing and cancellation occurs at local date and time. When no time is specified, reservation is queued or cancelled at 00:00.
amadeus.flightcreateorders: 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.flightcreateorders: 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.flightcreateorders: TravelerType![](/images/permalink.svg)
TravelerType
traveler type age restrictions : CHILD < 12y, HELD_INFANT < 2y, SEATED_INFANT < 2y, SENIOR >=60y
Import
import ballerinax/amadeus.flightcreateorders;
Metadata
Released date: about 1 year ago
Version: 1.3.0
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.4.1
GraalVM compatible: Yes
Pull count
Total: 13
Current verison: 0
Weekly downloads
Keywords
Sales & CRM/Scheduling & Booking
Cost/Freemium
Contributors