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

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

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

Usage Example

Пример #1
0
 /**
  * @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