src/Payments/Resources/Notifications.php
public function setEventsList(array $events)
    {
        $this->data->events = array_merge($this->data->events, $events);

        return $this;
    }
public function setEventsList(array $events)
    {
        $this->data->events = array_merge($this->data->events, $events);

        return $this;
    }
public function setEventsList ( array $ events ) { $ this -> data -> events = array_merge ( $ this -> data -> events , $ events ) ; return $ this ; }
Set a list of events name

@param  array  $events
@return $this
Set a list of events name