Booking
in package
A namespaced client for the "/booking" endpoints.
Access via the Amadeus client object.
$amadeus = Amadeus::builder("clientId", "secret")->build(); $amadeus->getBooking();
Table of Contents
- $flightOrders : FlightOrders
- A namespaced client for the "/v1/booking/flightOrders" endpoints.
- $hotelBookings : HotelBookings
- A namespaced client for the "/v1/booking/hotelBookings" endpoints.
- __construct() : mixed
- getFlightOrders() : FlightOrders
- Get a namespaced client for the "/v1/booking/flightOrders" endpoints.
- getHotelBookings() : HotelBookings
- Get a namespaced client for the "/v1/booking/hotelBookings" endpoints.
Properties
$flightOrders
A namespaced client for the "/v1/booking/flightOrders" endpoints.
private
FlightOrders
$flightOrders
$hotelBookings
A namespaced client for the "/v1/booking/hotelBookings" endpoints.
private
HotelBookings
$hotelBookings
Methods
__construct()
public
__construct(Amadeus $amadeus) : mixed
Parameters
- $amadeus : Amadeus
Return values
mixed —getFlightOrders()
Get a namespaced client for the "/v1/booking/flightOrders" endpoints.
public
getFlightOrders() : FlightOrders
Return values
FlightOrders —getHotelBookings()
Get a namespaced client for the "/v1/booking/hotelBookings" endpoints.
public
getHotelBookings() : HotelBookings