PayPal\Api\Webhook::getUrl PHP Method

getUrl() public method

The URL that is configured to listen on localhost for incoming POST notification messages that contain event information.
public getUrl ( ) : string
return string
    public function getUrl()
    {
        return $this->url;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param Webhook $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getId(), "TestSample");
     $this->assertEquals($obj->getUrl(), "http://www.google.com");
     $this->assertEquals($obj->getEventTypes(), WebhookEventTypeTest::getObject());
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }
All Usage Examples Of PayPal\Api\Webhook::getUrl