PHP Class PayPal\Api\Payee

A resource representing a Payee who receives the funds and fulfills the order.
Inheritance: extends PayPal\Common\PayPalModel
Mostrar archivo Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

Method Description
getAccountNumber ( ) : string Unencrypted PayPal account Number of the Payee
getEmail ( ) : string 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 receive PayPal Wallet Payments. Direct Credit Card Payments will be denied due to card compliance requirements.
getFirstName ( ) : string First Name of the Payee.
getLastName ( ) : string Last Name of the Payee.
getMerchantId ( ) : string Encrypted PayPal account identifier for the Payee.
getPhone ( ) : Phone Information related to the Payee.
setAccountNumber ( string $account_number ) Unencrypted PayPal account Number of the Payee
setEmail ( string $email ) 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 receive PayPal Wallet Payments. Direct Credit Card Payments will be denied due to card compliance requirements.
setFirstName ( string $first_name ) First Name of the Payee.
setLastName ( string $last_name ) Last Name of the Payee.
setMerchantId ( string $merchant_id ) Encrypted PayPal account identifier for the Payee.
setPhone ( Phone $phone ) Information related to the Payee.

Method Details

getAccountNumber() public method

Unencrypted PayPal account Number of the Payee
Deprecation: Not publicly available
public getAccountNumber ( ) : string
return string

getEmail() public method

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 receive PayPal Wallet Payments. Direct Credit Card Payments will be denied due to card compliance requirements.
public getEmail ( ) : string
return string

getFirstName() public method

First Name of the Payee.
Deprecation: Not publicly available
public getFirstName ( ) : string
return string

getLastName() public method

Last Name of the Payee.
Deprecation: Not publicly available
public getLastName ( ) : string
return string

getMerchantId() public method

Encrypted PayPal account identifier for the Payee.
public getMerchantId ( ) : string
return string

getPhone() public method

Information related to the Payee.
Deprecation: Not publicly available
public getPhone ( ) : Phone
return Phone

setAccountNumber() public method

Unencrypted PayPal account Number of the Payee
Deprecation: Not publicly available
public setAccountNumber ( string $account_number )
$account_number string

setEmail() public method

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 receive PayPal Wallet Payments. Direct Credit Card Payments will be denied due to card compliance requirements.
public setEmail ( string $email )
$email string

setFirstName() public method

First Name of the Payee.
Deprecation: Not publicly available
public setFirstName ( string $first_name )
$first_name string

setLastName() public method

Last Name of the Payee.
Deprecation: Not publicly available
public setLastName ( string $last_name )
$last_name string

setMerchantId() public method

Encrypted PayPal account identifier for the Payee.
public setMerchantId ( string $merchant_id )
$merchant_id string

setPhone() public method

Information related to the Payee.
Deprecation: Not publicly available
public setPhone ( Phone $phone )
$phone Phone