subject = $subject; return $this; } /** * Subject of the notification. * * @return string */ public function getSubject() { return $this->subject; } /** * Note to the payer. * * @param string $note * * @return $this */ public function setNote($note) { $this->note = $note; return $this; } /** * Note to the payer. * * @return string */ public function getNote() { return $this->note; } /** * A flag indicating whether a copy of the email has to be sent to the merchant. * * @param bool $send_to_merchant * * @return $this */ public function setSendToMerchant($send_to_merchant) { $this->send_to_merchant = $send_to_merchant; return $this; } /** * A flag indicating whether a copy of the email has to be sent to the merchant. * * @return bool */ public function getSendToMerchant() { return $this->send_to_merchant; } /** * A flag indicating whether a copy of the email has to be sent to the merchant. * * @deprecated Instead use setSendToMerchant * * @param bool $send_to_merchant * @return $this */ public function setSend_to_merchant($send_to_merchant) { $this->send_to_merchant = $send_to_merchant; return $this; } /** * A flag indicating whether a copy of the email has to be sent to the merchant. * @deprecated Instead use getSendToMerchant * * @return bool */ public function getSend_to_merchant() { return $this->send_to_merchant; } /** * A flag indicating whether a copy of the email has to be sent to the payer. * * @param bool $send_to_payer * * @return $this */ public function setSendToPayer($send_to_payer) { $this->send_to_payer = $send_to_payer; return $this; } /** * A flag indicating whether a copy of the email has to be sent to the payer. * * @return bool */ public function getSendToPayer() { return $this->send_to_payer; } /** * A flag indicating whether a copy of the email has to be sent to the payer. * * @deprecated Instead use setSendToPayer * * @param bool $send_to_payer * @return $this */ public function setSend_to_payer($send_to_payer) { $this->send_to_payer = $send_to_payer; return $this; } /** * A flag indicating whether a copy of the email has to be sent to the payer. * @deprecated Instead use getSendToPayer * * @return bool */ public function getSend_to_payer() { return $this->send_to_payer; } }