PayPal\Api\CancelNotification::setSendToPayer PHP Method

setSendToPayer() public method

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