public class Pricing
extends java.lang.Object
A namespaced client for the
/v1/shopping/flight-offers/pricing endpoints.
Access via the Amadeus client object.
Amadeus amadeus = Amadeus.builder(API_KEY, API_SECRET).build(); amadeus.shopping.flightOffers.pricing;
| Modifier and Type | Method and Description |
|---|---|
FlightPrice |
post() |
FlightPrice |
post(FlightOfferSearch flightOffersSearch)
The Flight Offers Price API allows the user to get or confirm the price of a flight
and obtain information about taxes and fees to be applied to the entire journey.
|
FlightPrice |
post(FlightOfferSearch[] flightOffersSearches)
The Flight Offers Price API allows the user to get or confirm the price of a flight
and obtain information about taxes and fees to be applied to the entire journey.
|
FlightPrice |
post(FlightOfferSearch[] flightOffersSearches,
FlightPayment flightPayment)
The Flight Offers Price API allows the user to get or confirm the price of a flight
and obtain information about taxes and fees to be applied to the entire journey.
|
FlightPrice |
post(FlightOfferSearch[] flightOffersSearches,
Params params)
The Flight Offers Price API allows the user to get or confirm the price of a flight
and obtain information about taxes and fees to be applied to the entire journey.
|
FlightPrice |
post(FlightOfferSearch flightOffersSearch,
FlightPayment flightPayment)
The Flight Offers Price API allows the user to get or confirm the price of a flight
and obtain information about taxes and fees to be applied to the entire journey.
|
FlightPrice |
post(FlightOfferSearch flightOffersSearch,
Params params)
The Flight Offers Price API allows the user to get or confirm the price of a flight
and obtain information about taxes and fees to be applied to the entire journey.
|
FlightPrice |
post(com.google.gson.JsonObject body)
The Flight Offers Price API allows the user to get or confirm the price of a flight
and obtain information about taxes and fees to be applied to the entire journey.
|
FlightPrice |
post(com.google.gson.JsonObject body,
Params params)
The Flight Offers Price API allows the user to get or confirm the price of a flight
and obtain information about taxes and fees to be applied to the entire journey.
|
FlightPrice |
post(java.lang.String body)
The Flight Offers Price API allows the user to get or confirm the price of a flight
and obtain information about taxes and fees to be applied to the entire journey.
|
FlightPrice |
post(java.lang.String body,
Params params)
The Flight Offers Price API allows the user to get or confirm the price of a flight
and obtain information about taxes and fees to be applied to the entire journey.
|
public Pricing(Amadeus client)
public FlightPrice post(com.google.gson.JsonObject body, Params params) throws ResponseException
The Flight Offers Price API allows the user to get or confirm the price of a flight and obtain information about taxes and fees to be applied to the entire journey. It is usually used after the Flight Offers Search API. It also retrieves ancillary information and the payment information details.
amadeus.shopping.flightOffers.pricing.post(body, params);
body - JSON body of flight-offers as JsonObject to priceparams - URL parameters such as include or forceClassResponseException - when an exception occurspublic FlightPrice post(java.lang.String body, Params params) throws ResponseException
The Flight Offers Price API allows the user to get or confirm the price of a flight and obtain information about taxes and fees to be applied to the entire journey. It is usually used after the Flight Offers Search API. It also retrieves ancillary information and the payment information details.
amadeus.shopping.flightOffersSearch.pricing.post(body, params);
body - JSON body of flight-offers as String to priceparams - URL parameters such as include or forceClassResponseException - when an exception occurspublic FlightPrice post(com.google.gson.JsonObject body) throws ResponseException
The Flight Offers Price API allows the user to get or confirm the price of a flight and obtain information about taxes and fees to be applied to the entire journey. It is usually used after the Flight Offers Search API. It also retrieves ancillary information and the payment information details.
amadeus.shopping.flightOffersSearch.pricing.post(body);
body - JSON body of flight-offers as JsonObject to priceResponseException - when an exception occurspublic FlightPrice post(java.lang.String body) throws ResponseException
The Flight Offers Price API allows the user to get or confirm the price of a flight and obtain information about taxes and fees to be applied to the entire journey. It is usually used after the Flight Offers Search API. It also retrieves ancillary information and the payment information details.
amadeus.shopping.flightOffersSearch.pricing.post(body);
body - JSON body of flight-offers as String to priceResponseException - when an exception occurspublic FlightPrice post(FlightOfferSearch[] flightOffersSearches) throws ResponseException
The Flight Offers Price API allows the user to get or confirm the price of a flight and obtain information about taxes and fees to be applied to the entire journey. It is usually used after the Flight Offers Search API. It also retrieves ancillary information and the payment information details.
amadeus.shopping.flightOffersSearch.pricing.post(flightOffersSearches);
flightOffersSearches - List of flight-offers as FlightOfferSearch[] object to priceResponseException - when an exception occurspublic FlightPrice post(FlightOfferSearch flightOffersSearch) throws ResponseException
The Flight Offers Price API allows the user to get or confirm the price of a flight and obtain information about taxes and fees to be applied to the entire journey. It is usually used after the Flight Offers Search API. It also retrieves ancillary information and the payment information details.
amadeus.shopping.flightOffersSearch.pricing.post(flightOffersSearches);
flightOffersSearch - a flight-offers as FlightOfferSearch object to priceResponseException - when an exception occurspublic FlightPrice post(FlightOfferSearch[] flightOffersSearches, Params params) throws ResponseException
The Flight Offers Price API allows the user to get or confirm the price of a flight and obtain information about taxes and fees to be applied to the entire journey. It is usually used after the Flight Offers Search API. It also retrieves ancillary information and the payment information details.
amadeus.shopping.flightOffersSearch.pricing.post(flightOffersSearches);
flightOffersSearches - List of flight-offers as FlightOfferSearch[] object to priceparams - URL parameters such as include or forceClassResponseException - when an exception occurspublic FlightPrice post(FlightOfferSearch flightOffersSearch, Params params) throws ResponseException
The Flight Offers Price API allows the user to get or confirm the price of a flight and obtain information about taxes and fees to be applied to the entire journey. It is usually used after the Flight Offers Search API. It also retrieves ancillary information and the payment information details.
amadeus.shopping.flightOffersSearch.pricing.post(flightOffersSearches);
flightOffersSearch - a flight-offers as FlightOfferSearch object to priceparams - URL parameters such as include or forceClassResponseException - when an exception occurspublic FlightPrice post(FlightOfferSearch[] flightOffersSearches, FlightPayment flightPayment) throws ResponseException
The Flight Offers Price API allows the user to get or confirm the price of a flight and obtain information about taxes and fees to be applied to the entire journey. It is usually used after the Flight Offers Search API. It also retrieves ancillary information and the payment information details.
amadeus.shopping.flightOffersSearch.pricing.post(flightOffersSearches);
flightOffersSearches - List of flight-offers as FlightOfferSearch[] object to priceflightPayment - payment information objectResponseException - when an exception occurspublic FlightPrice post(FlightOfferSearch flightOffersSearch, FlightPayment flightPayment) throws ResponseException
The Flight Offers Price API allows the user to get or confirm the price of a flight and obtain information about taxes and fees to be applied to the entire journey. It is usually used after the Flight Offers Search API. It also retrieves ancillary information and the payment information details.
amadeus.shopping.flightOffersSearch.pricing.post(flightOffersSearches);
flightOffersSearch - a flight-offers as FlightOfferSearch object to priceflightPayment - payment information objectResponseException - when an exception occurspublic FlightPrice post() throws ResponseException
ResponseException