src/authnet/AuthnetWebhooksRequest.php
public function getNotificationHistory($limit = 1000, $offset = 0)
    {
        $this->endpoint = 'notifications';
        $this->url = sprintf('%s%s', $this->url, $this->endpoint);
        $response = $this->get($this->url, [
            'offset' => $offset,
            'limit'  => $limit
        ]);
        return new AuthnetWebhooksResponse($response);
    }
public function getNotificationHistory($limit = 1000, $offset = 0)
    {
        $this->endpoint = 'notifications';
        $this->url = sprintf('%s%s', $this->url, $this->endpoint);
        $response = $this->get($this->url, [
            'offset' => $offset,
            'limit'  => $limit
        ]);
        return new AuthnetWebhooksResponse($response);
    }
public function getNotificationHistory ( $ limit = 1000 , $ offset = 0 ) { $ this -> endpoint = 'notifications' ; $ this -> url = sprintf ( '%s%s' , $ this -> url , $ this -> endpoint ) ; $ response = $ this -> get ( $ this -> url , [ 'offset' => $ offset , 'limit' => $ limit ] ) ; return new AuthnetWebhooksResponse ( $ response ) ; }
Retrieve Notification History

@param   integer   $limit    Default: 1000
@param   integer   $offset   Default: 0
@return  \JohnConde\Authnet\AuthnetWebhooksResponse
@throws  \JohnConde\Authnet\AuthnetInvalidJsonException
@throws  \JohnConde\Authnet\AuthnetCurlException
Retrieve Notification History