PayPal\Api\WebhookEvent::getId PHP Method

getId() public method

The ID of the webhook event notification.
public getId ( ) : string
return string
    public function getId()
    {
        return $this->id;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param WebhookEvent $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getId(), "TestSample");
     $this->assertEquals($obj->getCreateTime(), "TestSample");
     $this->assertEquals($obj->getResourceType(), "TestSample");
     $this->assertEquals($obj->getEventType(), "TestSample");
     $this->assertEquals($obj->getSummary(), "TestSample");
     $this->assertEquals($obj->getResource(), "TestSampleObject");
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }
All Usage Examples Of PayPal\Api\WebhookEvent::getId