PayPal\Api\PayoutItem::getNote PHP Method

getNote() public method

Optional. A sender-specified note for notifications. Value is any string value.
public getNote ( ) : string
return string
    public function getNote()
    {
        return $this->note;
    }

Usage Example

Example #1
0
 /**
  * @depends testSerializationDeserialization
  * @param PayoutItem $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getRecipientType(), "TestSample");
     $this->assertEquals($obj->getAmount(), CurrencyTest::getObject());
     $this->assertEquals($obj->getNote(), "TestSample");
     $this->assertEquals($obj->getReceiver(), "TestSample");
     $this->assertEquals($obj->getSenderItemId(), "TestSample");
 }