src/Payments/Resources/Notifications.php
public function setWebHook($url)
    {
        $this->data->target = $url;
        $this->data->media = self::DEFAULT_MEDIA;

        return $this;
    }
public function setWebHook($url)
    {
        $this->data->target = $url;
        $this->data->media = self::DEFAULT_MEDIA;

        return $this;
    }
public function setWebHook ( $ url ) { $ this -> data -> target = $ url ; $ this -> data -> media = self :: DEFAULT_MEDIA ; return $ this ; }
Set WebHook URL

@param  string  $url
@return $this
Set WebHook URL