public class ReferenceData
extends java.lang.Object
A namespaced client for the
/v2/reference-data endpoints.
Access via the Amadeus client object.
Amadeus amadeus = Amadeus.builder("clientId", "secret").build();
amadeus.referenceData;| Modifier and Type | Field and Description |
|---|---|
Airlines |
airlines
A namespaced client for the
/v2/reference-data/airlines endpoints. |
Locations |
locations
A namespaced client for the
/v2/reference-data/locations endpoints. |
RecommendedLocations |
recommendedLocations
A namespaced client for the
/v1/reference-data/recommended-locations endpoints. |
Urls |
urls
A namespaced client for the
/v2/reference-data/urls endpoints. |
| Constructor and Description |
|---|
ReferenceData(Amadeus client)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Location |
location(java.lang.String locationId)
A namespaced client for the
/v2/reference-data/location/:hotel_id endpoints. |
public Urls urls
A namespaced client for the
/v2/reference-data/urls endpoints.
public Locations locations
A namespaced client for the
/v2/reference-data/locations endpoints.
public Airlines airlines
A namespaced client for the
/v2/reference-data/airlines endpoints.
public RecommendedLocations recommendedLocations
A namespaced client for the
/v1/reference-data/recommended-locations endpoints.
public ReferenceData(Amadeus client)
public Location location(java.lang.String locationId)
A namespaced client for the
/v2/reference-data/location/:hotel_id endpoints.