PayPal\Api\Notification::getSendToMerchant PHP Method

getSendToMerchant() public method

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

Usage Example

Exemplo n.º 1
0
 /**
  * @depends testSerializationDeserialization
  * @param Notification $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getSubject(), "TestSample");
     $this->assertEquals($obj->getNote(), "TestSample");
     $this->assertEquals($obj->getSendToMerchant(), true);
 }