/home/techb158/ileadtechnology.com/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api
Edit: /home/techb158/ileadtechnology.com/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FileAttachment.php (1138B)
name = $name;
return $this;
}
/**
* Name of the file attached.
*
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* URL of the attached file that can be downloaded.
*
* @param string $url
* @throws \InvalidArgumentException
* @return $this
*/
public function setUrl($url)
{
UrlValidator::validate($url, "Url");
$this->url = $url;
return $this;
}
/**
* URL of the attached file that can be downloaded.
*
* @return string
*/
public function getUrl()
{
return $this->url;
}
}