Airport
in package
A namespaced client for the "/airport" endpoints.
Access via the Amadeus client object.
$amadeus = Amadeus::builder("clientId", "secret")->build(); $amadeus->getAirport();
Table of Contents
- $directDestinations : DirectDestinations
- A namespaced client for the "/v1/airport/direct-destinations" endpoints.
- $predictions : Predictions
- A namespaced client for the "/v1/airport/predictions" endpoints.
- __construct() : mixed
- getDirectDestinations() : DirectDestinations
- Get a namespaced client for the "/v1/airport/direct-destinations" endpoints.
- getPredictions() : Predictions
- Get a namespaced client for the "/v1/airport/predictions" endpoints.
Properties
$directDestinations
A namespaced client for the "/v1/airport/direct-destinations" endpoints.
private
DirectDestinations
$directDestinations
$predictions
A namespaced client for the "/v1/airport/predictions" endpoints.
private
Predictions
$predictions
Methods
__construct()
public
__construct(Amadeus $amadeus) : mixed
Parameters
- $amadeus : Amadeus
Return values
mixed —getDirectDestinations()
Get a namespaced client for the "/v1/airport/direct-destinations" endpoints.
public
getDirectDestinations() : DirectDestinations
Return values
DirectDestinations —getPredictions()
Get a namespaced client for the "/v1/airport/predictions" endpoints.
public
getPredictions() : Predictions