PayPal\Api\CurrencyConversion::setWebUrl PHP Method

setWebUrl() public method

Base URL to web applications endpoint Valid Values: ["https://www.paypal.com/{country_code}/webapps/xocspartaweb/webflow/sparta/proxwebflow", "https://www.paypal.com/{country_code}/proxflow"]
Deprecation: Not publicly available
public setWebUrl ( string $web_url )
$web_url string
    public function setWebUrl($web_url)
    {
        UrlValidator::validate($web_url, "WebUrl");
        $this->web_url = $web_url;
        return $this;
    }

Usage Example

 public function testUrlValidationForWebUrlDeprecated()
 {
     $obj = new CurrencyConversion();
     $obj->setWebUrl(null);
     $this->assertNull($obj->getWebUrl());
 }