PHP Класс PayPal\Api\Payer

Наследование: extends PayPal\Common\PPModel
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
addFundingInstrument ( FundingInstrument $fundingInstrument ) Append FundingInstruments to the list.
getAccountAge ( ) : string Duration since the payer established account relationship with PayPal in days.
getAccountType ( ) : string Type of account relationship payer has with PayPal.
getExternalSelectedFundingInstrumentType ( ) : string 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
getFundingInstruments ( ) : FundingInstrument[] 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.
getFundingOption ( ) : PayPal\Api\FundingOption Default funding option available for the payment
getFundingOptionId ( ) : string 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.
getPayerInfo ( ) : PayerInfo Information related to the Payer.
getPaymentMethod ( ) : string Payment method being used - PayPal Wallet payment, Bank Direct Debit or Direct Credit card.
getRelatedFundingOption ( ) : PayPal\Api\FundingOption Funding option related to default funding option.
getStatus ( ) : string Status of payer's PayPal Account.
removeFundingInstrument ( FundingInstrument $fundingInstrument ) Remove FundingInstruments from the list.
setAccountAge ( string $account_age ) Duration since the payer established account relationship with PayPal in days.
setAccountType ( string $account_type ) Type of account relationship payer has with PayPal.
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"]
setFundingInstruments ( FundingInstrument[] $funding_instruments ) 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.
setFundingOption ( PayPal\Api\FundingOption $funding_option ) Default funding option available for the payment
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.
setPayerInfo ( PayerInfo $payer_info ) Information related to the Payer.
setPaymentMethod ( string $payment_method ) Payment method being used - PayPal Wallet payment, Bank Direct Debit or Direct Credit card.
setRelatedFundingOption ( PayPal\Api\FundingOption $related_funding_option ) Funding option related to default funding option.
setStatus ( string $status ) Status of payer's PayPal Account.

Описание методов

addFundingInstrument() публичный Метод

Append FundingInstruments to the list.
public addFundingInstrument ( FundingInstrument $fundingInstrument )
$fundingInstrument FundingInstrument

getAccountAge() публичный Метод

Duration since the payer established account relationship with PayPal in days.
Устаревший: Not publicly available
public getAccountAge ( ) : string
Результат string

getAccountType() публичный Метод

Type of account relationship payer has with PayPal.
Устаревший: Not publicly available
public getAccountType ( ) : string
Результат 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 getExternalSelectedFundingInstrumentType ( ) : string
Результат string

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 getFundingInstruments ( ) : FundingInstrument[]
Результат FundingInstrument[]

getFundingOption() публичный Метод

Default funding option available for the payment
Устаревший: Not publicly available
public getFundingOption ( ) : PayPal\Api\FundingOption
Результат PayPal\Api\FundingOption

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.
Устаревший: Not publicly available
public getFundingOptionId ( ) : string
Результат string

getPayerInfo() публичный Метод

Information related to the Payer.
public getPayerInfo ( ) : PayerInfo
Результат PayerInfo

getPaymentMethod() публичный Метод

Payment method being used - PayPal Wallet payment, Bank Direct Debit or Direct Credit card.
public getPaymentMethod ( ) : string
Результат string

getRelatedFundingOption() публичный Метод

Funding option related to default funding option.
Устаревший: Not publicly available
public getRelatedFundingOption ( ) : PayPal\Api\FundingOption
Результат PayPal\Api\FundingOption

getStatus() публичный Метод

Status of payer's PayPal Account.
public getStatus ( ) : string
Результат string

removeFundingInstrument() публичный Метод

Remove FundingInstruments from the list.
public removeFundingInstrument ( FundingInstrument $fundingInstrument )
$fundingInstrument FundingInstrument

setAccountAge() публичный Метод

Duration since the payer established account relationship with PayPal in days.
Устаревший: Not publicly available
public setAccountAge ( string $account_age )
$account_age string

setAccountType() публичный Метод

Valid Values: ["BUSINESS", "PERSONAL", "PREMIER"]
Устаревший: Not publicly available
public setAccountType ( string $account_type )
$account_type string

setExternalSelectedFundingInstrumentType() публичный Метод

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 setExternalSelectedFundingInstrumentType ( string $external_selected_funding_instrument_type )
$external_selected_funding_instrument_type string

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 setFundingInstruments ( FundingInstrument[] $funding_instruments )
$funding_instruments FundingInstrument[]

setFundingOption() публичный Метод

Default funding option available for the payment
Устаревший: Not publicly available
public setFundingOption ( PayPal\Api\FundingOption $funding_option )
$funding_option PayPal\Api\FundingOption

setFundingOptionId() публичный Метод

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.
Устаревший: Not publicly available
public setFundingOptionId ( string $funding_option_id )
$funding_option_id string

setPayerInfo() публичный Метод

Information related to the Payer.
public setPayerInfo ( PayerInfo $payer_info )
$payer_info PayerInfo

setPaymentMethod() публичный Метод

Valid Values: ["credit_card", "bank", "paypal", "pay_upon_invoice", "carrier", "alternate_payment"]
public setPaymentMethod ( string $payment_method )
$payment_method string

setRelatedFundingOption() публичный Метод

Funding option related to default funding option.
Устаревший: Not publicly available
public setRelatedFundingOption ( PayPal\Api\FundingOption $related_funding_option )
$related_funding_option PayPal\Api\FundingOption

setStatus() публичный Метод

Valid Values: ["VERIFIED", "UNVERIFIED"]
public setStatus ( string $status )
$status string