Activity
in package
A namespaced client for the "/v1/shopping/activities/:activity_id" endpoints.
Access via the Amadeus client object.
$amadeus = Amadeus::builder("clientId", "secret")->build(); $amadeus->getShopping()->getActivity();
Table of Contents
- $activityId : string
- $amadeus : Amadeus
- __construct() : mixed
- Constructor.
- get() : Activity
- Tours and Activities API:
Properties
$activityId
private
string
$activityId
$amadeus
private
Amadeus
$amadeus
Methods
__construct()
Constructor.
public
__construct(Amadeus $amadeus, string $activityId) : mixed
Parameters
- $amadeus : Amadeus
- $activityId : string
Return values
mixed —get()
Tours and Activities API:
public
get() : Activity
Find a single activity from a given id.
$amadeus->getShopping()->getActivity("4615")->get();
Tags
Return values
Activity —an API resource