Documentation

Hotels
in package

A namespaced client for the "/v1/reference-data/locations/hotels" endpoints.

Access via the Amadeus client object.

$amadeus = Amadeus::builder("clientId", "secret")->build(); $amadeus->getReferenceData()->getLocations()->getHotels();

Table of Contents

$byCity  : ByCity
A namespaced client for the "/v1/reference-data/locations/hotels/by-city" endpoints.
$byGeocode  : ByGeocode
A namespaced client for the "/v1/reference-data/locations/hotels/by-geocode" endpoints.
$byHotels  : ByHotels
A namespaced client for the "/v1/reference-data/locations/hotels/by-hotels" endpoints.
__construct()  : mixed
Constructor
getByCity()  : ByCity
Get a namespaced client for the "/v1/reference-data/locations/hotels/by-city" endpoints.
getByGeocode()  : ByGeocode
Get a namespaced client for the "/v1/reference-data/locations/hotels/by-geocode" endpoints.
getByHotels()  : ByHotels
Get a namespaced client for the "/v1/reference-data/locations/hotels/by-hotels" endpoints.

Properties

$byCity

A namespaced client for the "/v1/reference-data/locations/hotels/by-city" endpoints.

private ByCity $byCity

$byGeocode

A namespaced client for the "/v1/reference-data/locations/hotels/by-geocode" endpoints.

private ByGeocode $byGeocode

$byHotels

A namespaced client for the "/v1/reference-data/locations/hotels/by-hotels" endpoints.

private ByHotels $byHotels

Methods

__construct()

Constructor

public __construct(Amadeus $amadeus) : mixed
Parameters
$amadeus : Amadeus
Return values
mixed

getByCity()

Get a namespaced client for the "/v1/reference-data/locations/hotels/by-city" endpoints.

public getByCity() : ByCity
Return values
ByCity

getByGeocode()

Get a namespaced client for the "/v1/reference-data/locations/hotels/by-geocode" endpoints.

public getByGeocode() : ByGeocode
Return values
ByGeocode

getByHotels()

Get a namespaced client for the "/v1/reference-data/locations/hotels/by-hotels" endpoints.

public getByHotels() : ByHotels
Return values
ByHotels

Search results