PayPal\Api\VerifyWebhookSignature::getWebhookId PHP 메소드

getWebhookId() 공개 메소드

The ID of the webhook as configured in your Developer Portal account.
public getWebhookId ( ) : string
리턴 string
    public function getWebhookId()
    {
        return $this->webhook_id;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param VerifyWebhookSignature $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getAuthAlgo(), "TestSample");
     $this->assertEquals($obj->getCertUrl(), "http://www.google.com");
     $this->assertEquals($obj->getTransmissionId(), "TestSample");
     $this->assertEquals($obj->getTransmissionSig(), "TestSample");
     $this->assertEquals($obj->getTransmissionTime(), "TestSample");
     $this->assertEquals($obj->getWebhookId(), "TestSample");
     $this->assertEquals($obj->getWebhookEvent(), WebhookEventTest::getObject());
 }