Closed xianqiliu closed 2 years ago
Fixes #36
[x] Resource Model - src/resources/Activity.php
src/resources/Activity.php
[x] Namespace Client and API support
$activities = $amadeus->getShopping()->getActivities()->get($params);
$activities = $amadeus->getShopping()->getActivities()->getBySquare()->get($params);
$amadeus->getShopping()->getActivity("3044851")->get();
[x] Namespace Test - NamespaceTest.php
NamespaceTest.php
[x] Endpoint and Resource Test - tests/shopping/flightOffers/PredictionTest.php
tests/shopping/flightOffers/PredictionTest.php
tests/shopping/ActivitiesTest.php
tests/shopping/activities/BySquaretest.php
tests/shopping/ActivityTest.php
Fixes #36
[x] Resource Model -
src/resources/Activity.php
[x] Namespace Client and API support
$activities = $amadeus->getShopping()->getActivities()->get($params);
$activities = $amadeus->getShopping()->getActivities()->getBySquare()->get($params);
$amadeus->getShopping()->getActivity("3044851")->get();
[x] Namespace Test -
NamespaceTest.php
[x] Endpoint and Resource Test -
tests/shopping/flightOffers/PredictionTest.php
tests/shopping/ActivitiesTest.php
tests/shopping/activities/BySquaretest.php
tests/shopping/ActivityTest.php