public class SeatMaps
extends java.lang.Object
A namespaced client for the
/v1/shopping/seatmaps endpoints.
Access via the Amadeus client object.
Amadeus amadeus = Amadeus.builder(API_KEY, API_SECRET).build(); amadeus.shopping.seatMaps;
| Modifier and Type | Method and Description |
|---|---|
SeatMap[] |
get()
Convenience method for calling
get without any parameters. |
SeatMap[] |
get(Params params)
The SeatMap API allows you to retrieve the seat map of one or several
flights based on the flight-orderId returned by the Flight Create Orders API.
|
SeatMap[] |
post()
Convenience method for calling
post without any parameters. |
SeatMap[] |
post(com.google.gson.JsonObject body)
The SeatMap API allows you to retrieve the seat map of one or several
Take the body of a flight offer search or flight offer price and pass
it in to this method to get a seatmap.
|
SeatMap[] |
post(java.lang.String body)
The SeatMap API allows you to retrieve the seat map of one or several
Take the body of a flight offer search or flight offer price and pass
it in to this method to get a seatmap.
|
public SeatMaps(Amadeus client)
public SeatMap[] get(Params params) throws ResponseException
The SeatMap API allows you to retrieve the seat map of one or several flights based on the flight-orderId returned by the Flight Create Orders API.
amadeus.shopping.seatMaps.get(params);
params - the parameters to send to the APIResponseException - when an exception occurspublic SeatMap[] get() throws ResponseException
get without any parameters.ResponseExceptionget()public SeatMap[] post(com.google.gson.JsonObject body) throws ResponseException
The SeatMap API allows you to retrieve the seat map of one or several Take the body of a flight offer search or flight offer price and pass it in to this method to get a seatmap.
amadeus.shopping.seatMaps.post(body);
body - the parameters to send to the API as a JSonObjectResponseException - when an exception occurspublic SeatMap[] post(java.lang.String body) throws ResponseException
The SeatMap API allows you to retrieve the seat map of one or several Take the body of a flight offer search or flight offer price and pass it in to this method to get a seatmap.
amadeus.shopping.seatMaps.post(body);
body - the parameters to send to the API as a StringResponseException - when an exception occurspublic SeatMap[] post() throws ResponseException
post without any parameters.ResponseExceptionpost()