PayPal\Api\Notification::getSubject PHP Метод

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

Subject of the notification.
public getSubject ( ) : string
Результат string
    public function getSubject()
    {
        return $this->subject;
    }

Usage Example

Пример #1
0
 /**
  * @depends testSerializationDeserialization
  * @param Notification $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getSubject(), "TestSample");
     $this->assertEquals($obj->getNote(), "TestSample");
     $this->assertEquals($obj->getSendToMerchant(), true);
 }