public class EventType extends PayPalResource
| Constructor and Description |
|---|
EventType()
Default Constructor
|
EventType(String name)
Parameterized Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static EventTypeList |
availableEventTypes(APIContext apiContext)
Retrieves the master list of available Webhooks events-types resources for any webhook to subscribe to.
|
static EventTypeList |
availableEventTypes(String accessToken)
Retrieves the master list of available Webhooks events-types resources for any webhook to subscribe to.
|
String |
getDescription()
Getter for description
|
String |
getName()
Getter for name
|
EventType |
setDescription(String description)
Setter for description
|
EventType |
setName(String name)
Setter for name
|
static EventTypeList |
subscribedEventTypes(APIContext apiContext,
String webhookId)
Retrieves the list of events-types subscribed by the given Webhook.
|
static EventTypeList |
subscribedEventTypes(String accessToken,
String webhookId)
Retrieves the list of events-types subscribed by the given Webhook.
|
configureAndExecute, configureAndExecute, configureAndExecute, createAPICallPreHandler, getClientID, getClientSecret, getConfigurations, getLastRequest, getLastResponse, getOAuthTokenCredential, initConfig, initConfig, initConfig, initializeToDefaultequals, hashCode, toJSON, toStringpublic EventType()
public EventType(String name)
public String getName()
public String getDescription()
public static EventTypeList subscribedEventTypes(String accessToken, String webhookId) throws PayPalRESTException
accessToken - Access Token used for the API call.webhookId - StringPayPalRESTExceptionpublic static EventTypeList subscribedEventTypes(APIContext apiContext, String webhookId) throws PayPalRESTException
apiContext - APIContext used for the API call.webhookId - StringPayPalRESTExceptionpublic static EventTypeList availableEventTypes(String accessToken) throws PayPalRESTException
accessToken - Access Token used for the API call.PayPalRESTExceptionpublic static EventTypeList availableEventTypes(APIContext apiContext) throws PayPalRESTException
apiContext - APIContext used for the API call.PayPalRESTExceptionCopyright © 2015. All Rights Reserved.