C# Class PayPal.Api.WebhookEventType

A list of events.

See PayPal Developer documentation for more information.

Inheritance: PayPalResource
Show file Open project: paypal/PayPal-NET-SDK

Private Properties

Property Type Description

Public Methods

Method Description
AvailableEventTypes ( APIContext apiContext ) : WebhookEventTypeList

Lists available events to which any webhook can subscribe. For a list of supported events, see [Webhook events](/docs/integration/direct/rest/webhooks/webhook-events/).

SubscribedEventTypes ( APIContext apiContext, string webhookId ) : WebhookEventTypeList

Lists event subscriptions for a webhook, by ID.

Method Details

AvailableEventTypes() public static method

Lists available events to which any webhook can subscribe. For a list of supported events, see [Webhook events](/docs/integration/direct/rest/webhooks/webhook-events/).
public static AvailableEventTypes ( APIContext apiContext ) : WebhookEventTypeList
apiContext APIContext APIContext used for the API call.
return WebhookEventTypeList

SubscribedEventTypes() public static method

Lists event subscriptions for a webhook, by ID.
public static SubscribedEventTypes ( APIContext apiContext, string webhookId ) : WebhookEventTypeList
apiContext APIContext APIContext used for the API call.
webhookId string The ID of the webhook for which to list subscriptions.
return WebhookEventTypeList