public class ItineraryPriceMetrics
extends java.lang.Object
A namespaced client for the
/v1/analytics/itinerary-price-metrics endpoints.
Access via the Amadeus client object.
Amadeus amadeus = Amadeus.builder("clientId", "secret").build();
amadeus.analytics.itineraryPriceMetrics;| Constructor and Description |
|---|
ItineraryPriceMetrics(Amadeus client)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ItineraryPriceMetric[] |
get()
Convenience method for calling
get without any parameters. |
ItineraryPriceMetric[] |
get(Params params)
Retrieves itinerary price metrics.
|
public ItineraryPriceMetrics(Amadeus client)
public ItineraryPriceMetric[] get(Params params) throws ResponseException
Retrieves itinerary price metrics.
amadeus.analytics.itineraryPriceMetrics.get(Params
.with("originIataCode", "MAD")
.and("destinationIataCode", "CDG")
.and("departureDate", "2021-03-21"));params - the parameters to send to the APIResponseException - when an exception occurspublic ItineraryPriceMetric[] get() throws ResponseException
get without any parameters.ResponseExceptionItineraryPriceMetric#get()