PayPal\Api\CancelNotification::getSendToMerchant PHP Method

getSendToMerchant() public method

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

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