PHP Class PayPal\Api\WebhookEventTypeList

List of webhook events.
Inheritance: extends PayPal\Common\PayPalModel
Show file Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

Method Description
addEventType ( WebhookEventType $webhookEventType ) Append EventTypes to the list.
getEventTypes ( ) : WebhookEventType[] A list of webhook events.
removeEventType ( WebhookEventType $webhookEventType ) Remove EventTypes from the list.
setEventTypes ( WebhookEventType[] $event_types ) A list of webhook events.

Method Details

addEventType() public method

Append EventTypes to the list.
public addEventType ( WebhookEventType $webhookEventType )
$webhookEventType WebhookEventType

getEventTypes() public method

A list of webhook events.
public getEventTypes ( ) : WebhookEventType[]
return WebhookEventType[]

removeEventType() public method

Remove EventTypes from the list.
public removeEventType ( WebhookEventType $webhookEventType )
$webhookEventType WebhookEventType

setEventTypes() public method

A list of webhook events.
public setEventTypes ( WebhookEventType[] $event_types )
$event_types WebhookEventType[]