src/authnet/AuthnetWebhooksRequest.php
public function getWebhook($webhookId)
    {
        $this->endpoint = 'webhooks';
        $this->url = sprintf('%s%s/%s', $this->url, $this->endpoint, $webhookId);
        $response = $this->get($this->url);
        return new AuthnetWebhooksResponse($response);
    }
public function getWebhook($webhookId)
    {
        $this->endpoint = 'webhooks';
        $this->url = sprintf('%s%s/%s', $this->url, $this->endpoint, $webhookId);
        $response = $this->get($this->url);
        return new AuthnetWebhooksResponse($response);
    }
public function getWebhook ( $ webhookId ) { $ this -> endpoint = 'webhooks' ; $ this -> url = sprintf ( '%s%s/%s' , $ this -> url , $ this -> endpoint , $ webhookId ) ; $ response = $ this -> get ( $ this -> url ) ; return new AuthnetWebhooksResponse ( $ response ) ; }
Get a webhook

@param   string   $webhookId   Webhook ID to be retrieved
@return  \JohnConde\Authnet\AuthnetWebhooksResponse
@throws  \JohnConde\Authnet\AuthnetInvalidJsonException
@throws  \JohnConde\Authnet\AuthnetCurlException
Get a webhook