PayPal\Api\WebhookEvent::getCreateTime PHP Метод

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

The date and time when the webhook event notification was created.
public getCreateTime ( ) : string
Результат string
    public function getCreateTime()
    {
        return $this->create_time;
    }

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());
 }