public class Upselling
extends java.lang.Object
A namespaced client for the
/v1/shopping/flight-offers/upselling endpoints.
Access via the Amadeus client object.
Amadeus amadeus = Amadeus.builder(API_KEY, API_SECRET).build(); amadeus.shopping.availability.flightOffers.upselling;
| Modifier and Type | Method and Description |
|---|---|
FlightOfferSearch[] |
post()
Convenience method for calling
post without any parameters. |
FlightOfferSearch[] |
post(com.google.gson.JsonObject body)
Branded Fares Upsell API is easily integrated into the Amadeus REST/JSON flight booking engine
and provides branded fare options for flights returned by the Flight Offers Search API.
|
FlightOfferSearch[] |
post(java.lang.String body)
Branded Fares Upsell API is easily integrated into the Amadeus REST/JSON flight booking engine
and provides branded fare options for flights returned by the Flight Offers Search API.
|
public Upselling(Amadeus client)
public FlightOfferSearch[] post(com.google.gson.JsonObject body) throws ResponseException
Branded Fares Upsell API is easily integrated into the Amadeus REST/JSON flight booking engine and provides branded fare options for flights returned by the Flight Offers Search API.
amadeus.shopping.flightOffers.upselling.post(body);
body - the parameters to send to the API as a JSonObjectResponseException - when an exception occurspublic FlightOfferSearch[] post(java.lang.String body) throws ResponseException
Branded Fares Upsell API is easily integrated into the Amadeus REST/JSON flight booking engine and provides branded fare options for flights returned by the Flight Offers Search API.
amadeus.shopping.flightOffers.upselling.post(body);
body - the parameters to send to the API as a StringResponseException - when an exception occurspublic FlightOfferSearch[] post() throws ResponseException
post without any parameters.ResponseExceptionpost()