All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amadeus.Shopping Maven / Gradle / Ivy

There is a newer version: 10.0.0
Show newest version
package com.amadeus;

import com.amadeus.shopping.FlightDates;
import com.amadeus.shopping.FlightDestinations;
import com.amadeus.shopping.FlightOffers;
import com.amadeus.shopping.HotelOffer;
import com.amadeus.shopping.HotelOffers;
import com.amadeus.shopping.HotelOffersByHotel;

/**
 * 

* 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 Shopping { private Amadeus client; /** *

* A namespaced client for the * /v1/shopping/flight-dates endpoints. *

*/ public FlightDates flightDates; /** *

* A namespaced client for the * /v1/shopping/flight-destinations endpoints. *

*/ public FlightDestinations flightDestinations; /** *

* A namespaced client for the * /v1/shopping/flight-offers endpoints. *

*/ public FlightOffers flightOffers; /** *

* A namespaced client for the * /v2/shopping/hotel-offers endpoints. *

*/ public HotelOffers hotelOffers; /** *

* A namespaced client for the * /v2/shopping/hotel-offers/by-hotel endpoints. *

*/ public HotelOffersByHotel hotelOffersByHotel; /** * Constructor. * @hide */ public Shopping(Amadeus client) { this.client = client; this.flightDates = new FlightDates(client); this.flightDestinations = new FlightDestinations(client); this.flightOffers = new FlightOffers(client); this.hotelOffers = new HotelOffers(client); this.hotelOffersByHotel = new HotelOffersByHotel(client); } /** *

* A namespaced client for the * /v1/shopping/hotel/:hotel_id endpoints. *

*/ public HotelOffer hotelOffer(String hotelId) { return new HotelOffer(client, hotelId); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy