PayPal\Api\CancelNotification::getNote PHP Method

getNote() public method

Note to the payer.
public getNote ( ) : string
return string
    public function getNote()
    {
        return $this->note;
    }

Usage Example

コード例 #1
0
 /**
  * @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);
 }