PayPal\Api\PaymentDetail::getNote PHP Method

getNote() public method

Optional. A note associated with the payment.
public getNote ( ) : string
return string
    public function getNote()
    {
        return $this->note;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param PaymentDetail $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getType(), "TestSample");
     $this->assertEquals($obj->getTransactionId(), "TestSample");
     $this->assertEquals($obj->getTransactionType(), "TestSample");
     $this->assertEquals($obj->getDate(), "TestSample");
     $this->assertEquals($obj->getMethod(), "TestSample");
     $this->assertEquals($obj->getNote(), "TestSample");
 }
All Usage Examples Of PayPal\Api\PaymentDetail::getNote