public class HotelOfferSearch
extends java.lang.Object
A namespaced client for the
/v3/shopping/hotel-offers/:offer_id endpoints.
Access via the Amadeus client object
Amadeus amadeus = Amadeus.builder(API_KEY, API_SECRET).build(); amadeus.shopping.HotelOfferSearch(offerId);
| Constructor and Description |
|---|
HotelOfferSearch(Amadeus client,
java.lang.String offerId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
HotelOfferSearch |
get()
Convenience method for calling
get without any parameters. |
HotelOfferSearch |
get(Params params)
Returns details for a specific offer.
|
public HotelOfferSearch(Amadeus client, java.lang.String offerId)
public HotelOfferSearch get(Params params) throws ResponseException
Returns details for a specific offer.
amadeus.shopping.HotelOfferSearch("XXX").get();params - the parameters to send to the APIResponseException - when an exception occurspublic HotelOfferSearch get() throws ResponseException
get without any parameters.ResponseExceptionHotelOffer.get()