PayPal\Api\InputFields::getAllowNote PHP Method

getAllowNote() public method

Indicates whether the buyer can enter a note to the merchant on the PayPal page during checkout.
public getAllowNote ( ) : boolean
return boolean
    public function getAllowNote()
    {
        return $this->allow_note;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param InputFields $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getAllowNote(), true);
     $this->assertEquals($obj->getNoShipping(), 123);
     $this->assertEquals($obj->getAddressOverride(), 123);
 }