[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: Notification.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 * @property string[] cc_emails */ 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; } /** * Indicates whether to send a copy of the email 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; } /** * Indicates whether to send a copy of the email to the merchant. * * @return bool */ public function getSendToMerchant() { return $this->send_to_merchant; } /** * Applicable for invoices created with Cc emails. If this field is not in the body, all the cc email addresses added as part of the invoice shall be notified else this field can be used to limit the list of email addresses. Note: additional email addresses are not supported. * * @param string[] $cc_emails * * @return $this */ public function setCcEmails($cc_emails) { $this->cc_emails = $cc_emails; return $this; } /** * Applicable for invoices created with Cc emails. If this field is not in the body, all the cc email addresses added as part of the invoice shall be notified else this field can be used to limit the list of email addresses. Note: additional email addresses are not supported. * * @return string[] */ public function getCcEmails() { return $this->cc_emails; } /** * Append CcEmails to the list. * * @param string $string * @return $this */ public function addCcEmail($string) { if (!$this->getCcEmails()) { return $this->setCcEmails(array($string)); } else { return $this->setCcEmails( array_merge($this->getCcEmails(), array($string)) ); } } /** * Remove CcEmails from the list. * * @param string $string * @return $this */ public function removeCcEmail($string) { return $this->setCcEmails( array_diff($this->getCcEmails(), array($string)) ); } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.85 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285