public class Activity
extends java.lang.Object
A namespaced client for the
/v1/shopping/activities endpoints.
Access via the Amadeus client object.
Amadeus amadeus = Amadeus.builder("clientId", "secret").build();
amadeus.shopping.activity;| Constructor and Description |
|---|
Activity(Amadeus client,
java.lang.String id)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Activity |
get()
Convenience method for calling
get without any parameters. |
Activity |
get(Params params)
Returns a single activity from a given id.
|
public Activity(Amadeus client, java.lang.String id)
public Activity get(Params params) throws ResponseException
Returns a single activity from a given id.
amadeus.shopping.activity.("4615").get();params - the parameters to send to the APIResponseException - when an exception occurspublic Activity get() throws ResponseException
get without any parameters.ResponseExceptionget()