PayPal\Api\VerifyWebhookSignature::getTransmissionTime PHP Method

getTransmissionTime() public method

The date and time of the HTTP transmission. Contained in the PAYPAL-TRANSMISSION-TIME header of the notification message.
public getTransmissionTime ( ) : string
return string
    public function getTransmissionTime()
    {
        return $this->transmission_time;
    }

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