public
|
#
setEmail( string $email )
Email address representing the payer. 127 characters max.
Email address representing the payer. 127 characters max.
Parameters
Returns
$this
|
public
string
|
#
getEmail( )
Email address representing the payer. 127 characters max.
Email address representing the payer. 127 characters max.
Returns
string
|
public
|
#
setExternalRememberMeId( string $external_remember_me_id )
External Remember Me id representing the payer
External Remember Me id representing the payer
Parameters
Returns
$this
|
public
string
|
#
getExternalRememberMeId( )
External Remember Me id representing the payer
External Remember Me id representing the payer
Returns
string
|
public
|
#
setAccountNumber( string $account_number )
Account Number representing the Payer
Account Number representing the Payer
Deprecated
Use #setBuyerAccountNumberInstead
Parameters
Returns
$this
|
public
string
|
#
getAccountNumber( )
Account Number representing the Payer
Account Number representing the Payer
Deprecated
Use #getBuyerAccountNumberInstead
Not publicly available
Returns
string
|
public
|
#
setBuyerAccountNumber( string $buyer_account_number )
Account Number representing the Payer
Account Number representing the Payer
Parameters
Returns
$this
|
public
string
|
#
getBuyerAccountNumber( )
Account Number representing the Payer
Account Number representing the Payer
Returns
string
|
public
|
#
setSalutation( string $salutation )
Salutation of the payer.
Parameters
Returns
$this
|
public
string
|
|
public
|
#
setFirstName( string $first_name )
First name of the payer.
Parameters
Returns
$this
|
public
string
|
|
public
|
#
setMiddleName( string $middle_name )
Middle name of the payer.
Middle name of the payer.
Parameters
Returns
$this
|
public
string
|
#
getMiddleName( )
Middle name of the payer.
Middle name of the payer.
Returns
string
|
public
|
#
setLastName( string $last_name )
Last name of the payer.
Parameters
Returns
$this
|
public
string
|
|
public
|
#
setSuffix( string $suffix )
Suffix of the payer.
Parameters
Returns
$this
|
public
string
|
#
getSuffix( )
Suffix of the payer.
Returns
string
|
public
|
#
setPayerId( string $payer_id )
PayPal assigned encrypted Payer ID.
PayPal assigned encrypted Payer ID.
Parameters
Returns
$this
|
public
string
|
#
getPayerId( )
PayPal assigned encrypted Payer ID.
PayPal assigned encrypted Payer ID.
Returns
string
|
public
|
#
setPhone( string $phone )
Phone number representing the payer. 20 characters max.
Phone number representing the payer. 20 characters max.
Parameters
Returns
$this
|
public
string
|
#
getPhone( )
Phone number representing the payer. 20 characters max.
Phone number representing the payer. 20 characters max.
Returns
string
|
public
|
#
setPhoneType( string $phone_type )
Phone type
Valid Values: ["HOME", "WORK", "MOBILE", "OTHER"]
Phone type
Valid Values: ["HOME", "WORK", "MOBILE", "OTHER"]
Parameters
Returns
$this
|
public
string
|
|
public
|
#
setBirthDate( string $birth_date )
Birth date of the Payer in ISO8601 format (yyyy-mm-dd).
Birth date of the Payer in ISO8601 format (yyyy-mm-dd).
Parameters
Returns
$this
|
public
string
|
#
getBirthDate( )
Birth date of the Payer in ISO8601 format (yyyy-mm-dd).
Birth date of the Payer in ISO8601 format (yyyy-mm-dd).
Returns
string
|
public
|
#
setTaxId( string $tax_id )
Payer’s tax ID. Only supported when the payment_method is set to paypal .
Payer’s tax ID. Only supported when the payment_method is set to paypal .
Parameters
Returns
$this
|
public
string
|
#
getTaxId( )
Payer’s tax ID. Only supported when the payment_method is set to paypal .
Payer’s tax ID. Only supported when the payment_method is set to paypal .
Returns
string
|
public
|
#
setTaxIdType( string $tax_id_type )
Payer’s tax ID type. Allowed values: BR_CPF or BR_CNPJ . Only supported when the payment_method is set to paypal .
Valid Values: ["BR_CPF", "BR_CNPJ"]
Payer’s tax ID type. Allowed values: BR_CPF or BR_CNPJ . Only supported when the payment_method is set to paypal .
Valid Values: ["BR_CPF", "BR_CNPJ"]
Parameters
Returns
$this
|
public
string
|
#
getTaxIdType( )
Payer’s tax ID type. Allowed values: BR_CPF or BR_CNPJ . Only supported when the payment_method is set to paypal .
Payer’s tax ID type. Allowed values: BR_CPF or BR_CNPJ . Only supported when the payment_method is set to paypal .
Returns
string
|
public
|
#
setCountryCode( string $country_code )
Two-letter registered country code of the payer to identify the buyer country.
Two-letter registered country code of the payer to identify the buyer country.
Parameters
Returns
$this
|
public
string
|
#
getCountryCode( )
Two-letter registered country code of the payer to identify the buyer country.
Two-letter registered country code of the payer to identify the buyer country.
Returns
string
|
public
|
|
public
PayPal\Api\Address
|
#
getBillingAddress( )
Billing address of the Payer.
Billing address of the Payer.
Returns
|
public
|
|
public
PayPal\Api\ShippingAddress
|
#
getShippingAddress( )
Deprecated
[DEPRECATED] Use shipping address present in purchase unit or at root level of checkout Session.
Returns
|