This repository has been archived on 2026-04-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PayPal-PHP-SDK/lib/PayPal/Api/Notification.php
japatel 29a8d8f50d Renaming Namespaces and Organizing Classes
- Updated OpenId classes to be in API namespace
- Updated PP Naming Convention to PayPal Naming Convention
- FormatConverter Class got its own namespace
- Handlers are grouped in Handler namespace
- Samples and Tests Updated Accordingly
2014-12-17 17:17:29 -06:00

115 lines
2.1 KiB
PHP

<?php
namespace PayPal\Api;
use PayPal\Common\PayPalModel;
/**
* Class Notification
*
* Email/SMS notification.
*
* @package PayPal\Api
*
* @property string subject
* @property string note
* @property bool send_to_merchant
*/
class Notification extends PayPalModel
{
/**
* Subject of the notification.
*
* @param string $subject
*
* @return $this
*/
public function setSubject($subject)
{
$this->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;
}
}