public class PointOfInterest
extends java.lang.Object
A namespaced client for the
/v1/reference-data/locations/pois endpoints.
Access via the Amadeus client object.
Amadeus amadeus = Amadeus.builder("clientId", "secret").build();
amadeus.referenceData.locations.pointOfInterest;| Constructor and Description |
|---|
PointOfInterest(Amadeus client,
java.lang.String id)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PointOfInterest |
get()
Convenience method for calling
get without any parameters. |
PointOfInterest |
get(Params params)
Returns a single Point of Interest from a given id.
|
public PointOfInterest(Amadeus client, java.lang.String id)
public PointOfInterest get(Params params) throws ResponseException
Returns a single Point of Interest from a given id.
amadeus.referenceData.locations.pointOfInterest("9CB40CB5D0").get();params - the parameters to send to the APIResponseException - when an exception occurspublic PointOfInterest get() throws ResponseException
get without any parameters.ResponseExceptionget()