forked from LiveCarta/PayPal-PHP-SDK
Removing Dependency from SDK Core Project
- Copied files required for Rest API SDK - Removed PPApiContext and directly connected APIContext with PPConfigManager - Removed duplicate data storage of configuration and credentials. - Code Style Fixes - Remove build.xml file as it is not required anymore - Updated the samples - Updated the documentations
This commit is contained in:
@@ -4,84 +4,94 @@ namespace PayPal\Api;
|
||||
use PayPal\Common\PPModel;
|
||||
use PayPal\Rest\ApiContext;
|
||||
|
||||
class Notification extends PPModel {
|
||||
/**
|
||||
* Subject of the notification.
|
||||
*
|
||||
* @param string $subject
|
||||
*/
|
||||
public function setSubject($subject) {
|
||||
$this->subject = $subject;
|
||||
return $this;
|
||||
}
|
||||
class Notification extends PPModel
|
||||
{
|
||||
/**
|
||||
* Subject of the notification.
|
||||
*
|
||||
* @param string $subject
|
||||
*/
|
||||
public function setSubject($subject)
|
||||
{
|
||||
$this->subject = $subject;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Subject of the notification.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getSubject() {
|
||||
return $this->subject;
|
||||
}
|
||||
/**
|
||||
* Subject of the notification.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getSubject()
|
||||
{
|
||||
return $this->subject;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Note to the payer.
|
||||
*
|
||||
* @param string $note
|
||||
*/
|
||||
public function setNote($note) {
|
||||
$this->note = $note;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Note to the payer.
|
||||
*
|
||||
* @param string $note
|
||||
*/
|
||||
public function setNote($note)
|
||||
{
|
||||
$this->note = $note;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Note to the payer.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getNote() {
|
||||
return $this->note;
|
||||
}
|
||||
/**
|
||||
* 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 boolean $send_to_merchant
|
||||
*/
|
||||
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.
|
||||
*
|
||||
* @param boolean $send_to_merchant
|
||||
*/
|
||||
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 boolean
|
||||
*/
|
||||
public function getSendToMerchant() {
|
||||
return $this->send_to_merchant;
|
||||
}
|
||||
/**
|
||||
* A flag indicating whether a copy of the email has to be sent to the merchant.
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function getSendToMerchant()
|
||||
{
|
||||
return $this->send_to_merchant;
|
||||
}
|
||||
|
||||
/**
|
||||
* A flag indicating whether a copy of the email has to be sent to the merchant.
|
||||
*
|
||||
* @param boolean $send_to_merchant
|
||||
* @deprecated. Instead use setSendToMerchant
|
||||
*/
|
||||
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.
|
||||
*
|
||||
* @return boolean
|
||||
* @deprecated. Instead use getSendToMerchant
|
||||
*/
|
||||
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 merchant.
|
||||
*
|
||||
* @param boolean $send_to_merchant
|
||||
* @deprecated. Instead use setSendToMerchant
|
||||
*/
|
||||
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.
|
||||
*
|
||||
* @return boolean
|
||||
* @deprecated. Instead use getSendToMerchant
|
||||
*/
|
||||
public function getSend_to_merchant()
|
||||
{
|
||||
return $this->send_to_merchant;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user