PayPal\Api\Notification::getSubject PHP Method

getSubject() public method

Subject of the notification.
public getSubject ( ) : string
return string
    public function getSubject()
    {
        return $this->subject;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param Notification $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getSubject(), "TestSample");
     $this->assertEquals($obj->getNote(), "TestSample");
     $this->assertEquals($obj->getSendToMerchant(), true);
 }