src/authnet/AuthnetWebhooksRequest.php
public function getEventTypes()
    {
        $this->endpoint = 'eventtypes';
        $this->url = sprintf('%s%s', $this->url, $this->endpoint);
        $response = $this->get($this->url);
        return new AuthnetWebhooksResponse($response);
    }
public function getEventTypes()
    {
        $this->endpoint = 'eventtypes';
        $this->url = sprintf('%s%s', $this->url, $this->endpoint);
        $response = $this->get($this->url);
        return new AuthnetWebhooksResponse($response);
    }
public function getEventTypes ( ) { $ this -> endpoint = 'eventtypes' ; $ this -> url = sprintf ( '%s%s' , $ this -> url , $ this -> endpoint ) ; $ response = $ this -> get ( $ this -> url ) ; return new AuthnetWebhooksResponse ( $ response ) ; }
Gets all of the available event types

@return  \JohnConde\Authnet\AuthnetWebhooksResponse
@throws  \JohnConde\Authnet\AuthnetInvalidJsonException
@throws  \JohnConde\Authnet\AuthnetCurlException
Gets all of the available event types