PHP 클래스 PayPal\Api\Payer

상속: extends PayPal\Common\PPModel
파일 보기 프로젝트 열기: paypal/rest-api-sdk-php 1 사용 예제들

공개 메소드들

메소드 설명
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

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