Class Payer
Class Payer
A resource representing a Payer that funds a payment.
- PayPal\Common\PayPalModel
- PayPal\Api\Payer
Methods summary
public
|
#
setPaymentMethod( string $payment_method )
Payment method being used - PayPal Wallet payment, Bank Direct Debit or Direct Credit card. Valid Values: ["credit_card", "bank", "paypal", "pay_upon_invoice", "carrier", "alternate_payment"] |
public
string
|
#
getPaymentMethod( )
Payment method being used - PayPal Wallet payment, Bank Direct Debit or Direct Credit card. |
public
|
|
public
string
|
|
public
|
#
setAccountType( string $account_type )
Type of account relationship payer has with PayPal. Valid Values: ["BUSINESS", "PERSONAL", "PREMIER"] |
public
string
|
|
public
|
#
setAccountAge( string $account_age )
Duration since the payer established account relationship with PayPal in days. |
public
string
|
|
public
|
#
setFundingInstruments(
List of funding instruments to fund the payment. 'OneOf' funding_instruments,funding_option_id to be used to identify the specifics of payment method passed. |
public
|
#
getFundingInstruments( )
List of funding instruments to fund the payment. 'OneOf' funding_instruments,funding_option_id to be used to identify the specifics of payment method passed. |
public
|
#
addFundingInstrument(
Append FundingInstruments to the list. |
public
|
#
removeFundingInstrument(
Remove FundingInstruments from the list. |
public
|
#
setFundingOptionId( string $funding_option_id )
Id of user selected funding option for the payment.'OneOf' funding_instruments,funding_option_id to be used to identify the specifics of payment method passed. |
public
string
|
#
getFundingOptionId( )
Id of user selected funding option for the payment.'OneOf' funding_instruments,funding_option_id to be used to identify the specifics of payment method passed. |
public
|
#
setFundingOption(
Default funding option available for the payment |
public
|
|
public
|
#
setExternalSelectedFundingInstrumentType( string $external_selected_funding_instrument_type )
Instrument type pre-selected by the user outside of PayPal and passed along the payment creation. This param is used in cases such as PayPal Credit Second Button Valid Values: ["CREDIT", "PAY_UPON_INVOICE"] |
public
string
|
#
getExternalSelectedFundingInstrumentType( )
Instrument type pre-selected by the user outside of PayPal and passed along the payment creation. This param is used in cases such as PayPal Credit Second Button |
public
|
#
setRelatedFundingOption(
Funding option related to default funding option. |
public
|
|
public
|
|
public
|
Methods inherited from PayPal\Common\PayPalModel
__construct()
,
__get()
,
__isset()
,
__set()
,
__toString()
,
__unset()
,
fromArray()
,
fromJson()
,
getList()
,
setCredential()
,
toArray()
,
toJSON()