Documentation

ReferenceData
in package

A namespaced client for the "/referenceData" endpoints.

Access via the Amadeus client object.

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

Table of Contents

$airlines  : Airlines
A namespaced client for the "/v1/reference-data/airlines" endpoints.
$amadeus  : Amadeus
$locations  : Locations
A namespaced client for the "/v1/reference-data/locations" endpoints.
$recommendedlocations  : RecommendedLocations
A namespaced client for the "/v1/reference-data/recommended-locations" endpoints.
__construct()  : mixed
getAirlines()  : Airlines
Get a namespaced client for the "/v1/reference-data/airlines" endpoints.
getLocation()  : Location
Get a namespaced client for the "/v1/reference-data/locations/:location_id" endpoints.
getLocations()  : Locations
Get a namespaced client for the "/v1/reference-data/locations" endpoints.
getRecommendedLocations()  : RecommendedLocations
Get a namespaced client for the "/v1/reference-data/recommended-locations" endpoints.

Properties

$airlines

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

private Airlines $airlines

$locations

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

private Locations $locations

Methods

getAirlines()

Get a namespaced client for the "/v1/reference-data/airlines" endpoints.

public getAirlines() : Airlines
Return values
Airlines

getLocation()

Get a namespaced client for the "/v1/reference-data/locations/:location_id" endpoints.

public getLocation(string $locationId) : Location
Parameters
$locationId : string
Return values
Location

getLocations()

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

public getLocations() : Locations
Return values
Locations

Search results