PHP 클래스 PayPal\Api\PayerInfo

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

공개 메소드들

메소드 설명
getAccountNumber ( ) : string Account Number representing the Payer
getBillingAddress ( ) : Address Billing address of the Payer.
getBirthDate ( ) : string Birth date of the Payer in ISO8601 format (yyyy-mm-dd).
getBuyerAccountNumber ( ) : string Account Number representing the Payer
getCountryCode ( ) : string Two-letter registered country code of the payer to identify the buyer country.
getEmail ( ) : string Email address representing the payer. 127 characters max.
getExternalRememberMeId ( ) : string External Remember Me id representing the payer
getFirstName ( ) : string First name of the payer.
getLastName ( ) : string Last name of the payer.
getMiddleName ( ) : string Middle name of the payer.
getPayerId ( ) : string PayPal assigned encrypted Payer ID.
getPhone ( ) : string Phone number representing the payer. 20 characters max.
getPhoneType ( ) : string Phone type
getSalutation ( ) : string Salutation of the payer.
getShippingAddress ( ) : ShippingAddress
getSuffix ( ) : string Suffix of the payer.
getTaxId ( ) : string Payer’s tax ID. Only supported when the payment_method is set to paypal.
getTaxIdType ( ) : string Payer’s tax ID type. Allowed values: BR_CPF or BR_CNPJ. Only supported when the payment_method is set to paypal.
setAccountNumber ( string $account_number ) Account Number representing the Payer
setBillingAddress ( Address $billing_address ) Billing address of the Payer.
setBirthDate ( string $birth_date ) Birth date of the Payer in ISO8601 format (yyyy-mm-dd).
setBuyerAccountNumber ( string $buyer_account_number ) Account Number representing the Payer
setCountryCode ( string $country_code ) Two-letter registered country code of the payer to identify the buyer country.
setEmail ( string $email ) Email address representing the payer. 127 characters max.
setExternalRememberMeId ( string $external_remember_me_id ) External Remember Me id representing the payer
setFirstName ( string $first_name ) First name of the payer.
setLastName ( string $last_name ) Last name of the payer.
setMiddleName ( string $middle_name ) Middle name of the payer.
setPayerId ( string $payer_id ) PayPal assigned encrypted Payer ID.
setPhone ( string $phone ) Phone number representing the payer. 20 characters max.
setPhoneType ( string $phone_type ) Phone type Valid Values: ["HOME", "WORK", "MOBILE", "OTHER"]
setSalutation ( string $salutation ) Salutation of the payer.
setShippingAddress ( ShippingAddress $shipping_address )
setSuffix ( string $suffix ) Suffix of the payer.
setTaxId ( string $tax_id ) Payer’s tax ID. Only supported when the payment_method is set to paypal.
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.

메소드 상세

getAccountNumber() 공개 메소드

Account Number representing the Payer
사용 중단: Use #getBuyerAccountNumberInstead
사용 중단: Not publicly available
public getAccountNumber ( ) : string
리턴 string

getBillingAddress() 공개 메소드

Billing address of the Payer.
public getBillingAddress ( ) : Address
리턴 Address

getBirthDate() 공개 메소드

Birth date of the Payer in ISO8601 format (yyyy-mm-dd).
public getBirthDate ( ) : string
리턴 string

getBuyerAccountNumber() 공개 메소드

Account Number representing the Payer
public getBuyerAccountNumber ( ) : string
리턴 string

getCountryCode() 공개 메소드

Two-letter registered country code of the payer to identify the buyer country.
public getCountryCode ( ) : string
리턴 string

getEmail() 공개 메소드

Email address representing the payer. 127 characters max.
public getEmail ( ) : string
리턴 string

getExternalRememberMeId() 공개 메소드

External Remember Me id representing the payer
public getExternalRememberMeId ( ) : string
리턴 string

getFirstName() 공개 메소드

First name of the payer.
public getFirstName ( ) : string
리턴 string

getLastName() 공개 메소드

Last name of the payer.
public getLastName ( ) : string
리턴 string

getMiddleName() 공개 메소드

Middle name of the payer.
public getMiddleName ( ) : string
리턴 string

getPayerId() 공개 메소드

PayPal assigned encrypted Payer ID.
public getPayerId ( ) : string
리턴 string

getPhone() 공개 메소드

Phone number representing the payer. 20 characters max.
public getPhone ( ) : string
리턴 string

getPhoneType() 공개 메소드

Phone type
public getPhoneType ( ) : string
리턴 string

getSalutation() 공개 메소드

Salutation of the payer.
public getSalutation ( ) : string
리턴 string

getShippingAddress() 공개 메소드

사용 중단: [DEPRECATED] Use shipping address present in purchase unit or at root level of checkout Session.
public getShippingAddress ( ) : ShippingAddress
리턴 ShippingAddress

getSuffix() 공개 메소드

Suffix of the payer.
public getSuffix ( ) : string
리턴 string

getTaxId() 공개 메소드

Payer’s tax ID. Only supported when the payment_method is set to paypal.
public getTaxId ( ) : string
리턴 string

getTaxIdType() 공개 메소드

Payer’s tax ID type. Allowed values: BR_CPF or BR_CNPJ. Only supported when the payment_method is set to paypal.
public getTaxIdType ( ) : string
리턴 string

setAccountNumber() 공개 메소드

Account Number representing the Payer
사용 중단: Use #setBuyerAccountNumberInstead
public setAccountNumber ( string $account_number )
$account_number string

setBillingAddress() 공개 메소드

Billing address of the Payer.
public setBillingAddress ( Address $billing_address )
$billing_address Address

setBirthDate() 공개 메소드

Birth date of the Payer in ISO8601 format (yyyy-mm-dd).
public setBirthDate ( string $birth_date )
$birth_date string

setBuyerAccountNumber() 공개 메소드

Account Number representing the Payer
public setBuyerAccountNumber ( string $buyer_account_number )
$buyer_account_number string

setCountryCode() 공개 메소드

Two-letter registered country code of the payer to identify the buyer country.
public setCountryCode ( string $country_code )
$country_code string

setEmail() 공개 메소드

Email address representing the payer. 127 characters max.
public setEmail ( string $email )
$email string

setExternalRememberMeId() 공개 메소드

External Remember Me id representing the payer
public setExternalRememberMeId ( string $external_remember_me_id )
$external_remember_me_id string

setFirstName() 공개 메소드

First name of the payer.
public setFirstName ( string $first_name )
$first_name string

setLastName() 공개 메소드

Last name of the payer.
public setLastName ( string $last_name )
$last_name string

setMiddleName() 공개 메소드

Middle name of the payer.
public setMiddleName ( string $middle_name )
$middle_name string

setPayerId() 공개 메소드

PayPal assigned encrypted Payer ID.
public setPayerId ( string $payer_id )
$payer_id string

setPhone() 공개 메소드

Phone number representing the payer. 20 characters max.
public setPhone ( string $phone )
$phone string

setPhoneType() 공개 메소드

Phone type Valid Values: ["HOME", "WORK", "MOBILE", "OTHER"]
public setPhoneType ( string $phone_type )
$phone_type string

setSalutation() 공개 메소드

Salutation of the payer.
public setSalutation ( string $salutation )
$salutation string

setShippingAddress() 공개 메소드

사용 중단: [DEPRECATED] Use shipping address present in purchase unit or at root level of checkout Session.
public setShippingAddress ( ShippingAddress $shipping_address )
$shipping_address ShippingAddress

setSuffix() 공개 메소드

Suffix of the payer.
public setSuffix ( string $suffix )
$suffix string

setTaxId() 공개 메소드

Payer’s tax ID. Only supported when the payment_method is set to paypal.
public setTaxId ( string $tax_id )
$tax_id string

setTaxIdType() 공개 메소드

Valid Values: ["BR_CPF", "BR_CNPJ"]
public setTaxIdType ( string $tax_id_type )
$tax_id_type string