PayPal\Api\CancelNotification::getSendToPayer PHP Method

getSendToPayer() public method

Indicates whether to send a copy of the notification to the payer.
public getSendToPayer ( ) : boolean
return boolean
    public function getSendToPayer()
    {
        return $this->send_to_payer;
    }

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);
 }