forked from LiveCarta/PayPal-PHP-SDK
Support Invoice APIs
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
namespace PayPal\Api;
|
||||
|
||||
use PayPal\Common\PPModel;
|
||||
use PayPal\Rest\ApiContext;
|
||||
|
||||
class Payee extends PPModel {
|
||||
/**
|
||||
* Email Address associated with the Payee's PayPal Account. If the provided email address is not associated with any PayPal Account, the payee can only receiver PayPal Wallet Payments. Direct Credit Card Payments will be denied due to card compliance requirements.
|
||||
*
|
||||
* @param string $email
|
||||
*/
|
||||
public function setEmail($email) {
|
||||
@@ -15,6 +17,7 @@ class Payee extends PPModel {
|
||||
|
||||
/**
|
||||
* Email Address associated with the Payee's PayPal Account. If the provided email address is not associated with any PayPal Account, the payee can only receiver PayPal Wallet Payments. Direct Credit Card Payments will be denied due to card compliance requirements.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getEmail() {
|
||||
@@ -24,6 +27,7 @@ class Payee extends PPModel {
|
||||
|
||||
/**
|
||||
* Encrypted PayPal Account identifier for the Payee.
|
||||
*
|
||||
* @param string $merchant_id
|
||||
*/
|
||||
public function setMerchantId($merchant_id) {
|
||||
@@ -33,6 +37,7 @@ class Payee extends PPModel {
|
||||
|
||||
/**
|
||||
* Encrypted PayPal Account identifier for the Payee.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getMerchantId() {
|
||||
@@ -41,6 +46,7 @@ class Payee extends PPModel {
|
||||
|
||||
/**
|
||||
* Encrypted PayPal Account identifier for the Payee.
|
||||
*
|
||||
* @param string $merchant_id
|
||||
* @deprecated. Instead use setMerchantId
|
||||
*/
|
||||
@@ -50,6 +56,7 @@ class Payee extends PPModel {
|
||||
}
|
||||
/**
|
||||
* Encrypted PayPal Account identifier for the Payee.
|
||||
*
|
||||
* @return string
|
||||
* @deprecated. Instead use getMerchantId
|
||||
*/
|
||||
@@ -59,6 +66,7 @@ class Payee extends PPModel {
|
||||
|
||||
/**
|
||||
* Phone number (in E.123 format) associated with the Payee's PayPal Account. If the provided phont number is not associated with any PayPal Account, the payee can only receiver PayPal Wallet Payments. Direct Credit Card Payments will be denied due to card compliance requirements.
|
||||
*
|
||||
* @param string $phone
|
||||
*/
|
||||
public function setPhone($phone) {
|
||||
@@ -68,6 +76,7 @@ class Payee extends PPModel {
|
||||
|
||||
/**
|
||||
* Phone number (in E.123 format) associated with the Payee's PayPal Account. If the provided phont number is not associated with any PayPal Account, the payee can only receiver PayPal Wallet Payments. Direct Credit Card Payments will be denied due to card compliance requirements.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getPhone() {
|
||||
|
||||
Reference in New Issue
Block a user