PayPal\Api\CancelNotification::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 CancelNotification $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getSubject(), "TestSample");
     $this->assertEquals($obj->getNote(), "TestSample");
     $this->assertEquals($obj->getSendToMerchant(), true);
     $this->assertEquals($obj->getSendToPayer(), true);
 }