com.amadeus.Travel Maven / Gradle / Ivy
package com.amadeus;
import com.amadeus.travel.Predictions;
import com.amadeus.travel.TripParser;
import com.amadeus.travel.analytics.Analytics;
/**
*
* A namespaced client for the
* /v2/travel
endpoints.
*
*
*
* Access via the Amadeus client object.
*
*
*
* Amadeus amadeus = Amadeus.builder("clientId", "secret").build();
* amadeus.travel;
*
* @hide
*/
public class Travel {
/**
*
* A namespaced client for the
* /v2/travel/analytics
endpoints.
*
*/
public Analytics analytics;
/**
*
* A namespaced client for the
* /v1/travel/predictions
endpoints.
*
*/
public Predictions predictions;
/**
*
* A namespaced client for the
* /v3/travel/trip-parser
endpoints.
*
*/
public TripParser tripParser;
/**
* Constructor.
* @hide
*/
public Travel(Amadeus client) {
this.analytics = new Analytics(client);
this.predictions = new Predictions(client);
this.tripParser = new TripParser(client);
}
}