PayPal\Api\WebhookEventTypeList::getEventTypes PHP Method

getEventTypes() public method

A list of webhook events.
public getEventTypes ( ) : WebhookEventType[]
return WebhookEventType[]
    public function getEventTypes()
    {
        return $this->event_types;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param WebhookEventTypeList $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getEventTypes(), WebhookEventTypeTest::getObject());
 }