PayPal\Api\FileAttachment::getUrl PHP Метод

getUrl() публичный Метод

URL of the attached file that can be downloaded.
public getUrl ( ) : string
Результат string
    public function getUrl()
    {
        return $this->url;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param FileAttachment $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getName(), "TestSample");
     $this->assertEquals($obj->getUrl(), "http://www.google.com");
 }