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

com.amadeus.Booking Maven / Gradle / Ivy

package com.amadeus;

import com.amadeus.booking.FlightOrder;
import com.amadeus.booking.FlightOrders;
import com.amadeus.booking.HotelBookings;

public class Booking {
  private Amadeus client;

  /**
   * 

* A namespaced client for the * /v1/booking/flightOrder endpoints. *

*/ public FlightOrder flightOrder; /** *

* A namespaced client for the * /v1/booking/flightOrders endpoints. *

*/ public FlightOrders flightOrders; /** *

* A namespaced client for the * /v1/booking/hotelBookings endpoints. *

*/ public HotelBookings hotelBookings; /** * Constructor. * @hide */ public Booking(Amadeus client) { this.client = client; this.flightOrders = new FlightOrders(client); this.hotelBookings = new HotelBookings(client); } public FlightOrder flightOrder(String flightOrderId) { return new FlightOrder(client, flightOrderId); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy