PATH:
home
/
lab2454c
/
keebchat.com
/
core
/
libs
/
paypal
/
vendor
/
paypal
/
rest-api-sdk-php
/
lib
/
PayPal
/
Api
<?php namespace PayPal\Api; use PayPal\Common\PayPalModel; /** * Class PayerInfo * * A resource representing a information about Payer. * * @package PayPal\Api * * @property string email * @property string external_remember_me_id * @property string buyer_account_number * @property string salutation * @property string first_name * @property string middle_name * @property string last_name * @property string suffix * @property string payer_id * @property string phone * @property string phone_type * @property string birth_date * @property string tax_id * @property string tax_id_type * @property string country_code * @property \PayPal\Api\Address billing_address */ class PayerInfo extends PayPalModel { /** * Email address representing the payer. 127 characters max. * * @param string $email * * @return $this */ public function setEmail($email) { $this->email = $email; return $this; } /** * Email address representing the payer. 127 characters max. * * @return string */ public function getEmail() { return $this->email; } /** * External Remember Me id representing the payer * * @param string $external_remember_me_id * * @return $this */ public function setExternalRememberMeId($external_remember_me_id) { $this->external_remember_me_id = $external_remember_me_id; return $this; } /** * External Remember Me id representing the payer * * @return string */ public function getExternalRememberMeId() { return $this->external_remember_me_id; } /** * Account Number representing the Payer * * @deprecated Use #setBuyerAccountNumberInstead * @param string $account_number * * @return $this */ public function setAccountNumber($account_number) { $this->account_number = $account_number; return $this; } /** * Account Number representing the Payer * * @deprecated Use #getBuyerAccountNumberInstead * * @deprecated Not publicly available * @return string */ public function getAccountNumber() { return $this->account_number; } /** * Account Number representing the Payer * * @param string $buyer_account_number * * @return $this */ public function setBuyerAccountNumber($buyer_account_number) { $this->buyer_account_number = $buyer_account_number; return $this; } /** * Account Number representing the Payer * * @return string */ public function getBuyerAccountNumber() { return $this->buyer_account_number; } /** * Salutation of the payer. * * @param string $salutation * * @return $this */ public function setSalutation($salutation) { $this->salutation = $salutation; return $this; } /** * Salutation of the payer. * * @return string */ public function getSalutation() { return $this->salutation; } /** * First name of the payer. * * @param string $first_name * * @return $this */ public function setFirstName($first_name) { $this->first_name = $first_name; return $this; } /** * First name of the payer. * * @return string */ public function getFirstName() { return $this->first_name; } /** * Middle name of the payer. * * @param string $middle_name * * @return $this */ public function setMiddleName($middle_name) { $this->middle_name = $middle_name; return $this; } /** * Middle name of the payer. * * @return string */ public function getMiddleName() { return $this->middle_name; } /** * Last name of the payer. * * @param string $last_name * * @return $this */ public function setLastName($last_name) { $this->last_name = $last_name; return $this; } /** * Last name of the payer. * * @return string */ public function getLastName() { return $this->last_name; } /** * Suffix of the payer. * * @param string $suffix * * @return $this */ public function setSuffix($suffix) { $this->suffix = $suffix; return $this; } /** * Suffix of the payer. * * @return string */ public function getSuffix() { return $this->suffix; } /** * PayPal assigned encrypted Payer ID. * * @param string $payer_id * * @return $this */ public function setPayerId($payer_id) { $this->payer_id = $payer_id; return $this; } /** * PayPal assigned encrypted Payer ID. * * @return string */ public function getPayerId() { return $this->payer_id; } /** * Phone number representing the payer. 20 characters max. * * @param string $phone * * @return $this */ public function setPhone($phone) { $this->phone = $phone; return $this; } /** * Phone number representing the payer. 20 characters max. * * @return string */ public function getPhone() { return $this->phone; } /** * Phone type * Valid Values: ["HOME", "WORK", "MOBILE", "OTHER"] * * @param string $phone_type * * @return $this */ public function setPhoneType($phone_type) { $this->phone_type = $phone_type; return $this; } /** * Phone type * * @return string */ public function getPhoneType() { return $this->phone_type; } /** * Birth date of the Payer in ISO8601 format (yyyy-mm-dd). * * @param string $birth_date * * @return $this */ public function setBirthDate($birth_date) { $this->birth_date = $birth_date; return $this; } /** * Birth date of the Payer in ISO8601 format (yyyy-mm-dd). * * @return string */ public function getBirthDate() { return $this->birth_date; } /** * Payer’s tax ID. Only supported when the `payment_method` is set to `paypal`. * * @param string $tax_id * * @return $this */ public function setTaxId($tax_id) { $this->tax_id = $tax_id; return $this; } /** * Payer’s tax ID. Only supported when the `payment_method` is set to `paypal`. * * @return string */ public function getTaxId() { return $this->tax_id; } /** * 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"] * * @param string $tax_id_type * * @return $this */ public function setTaxIdType($tax_id_type) { $this->tax_id_type = $tax_id_type; return $this; } /** * Payer’s tax ID type. Allowed values: `BR_CPF` or `BR_CNPJ`. Only supported when the `payment_method` is set to `paypal`. * * @return string */ public function getTaxIdType() { return $this->tax_id_type; } /** * Two-letter registered country code of the payer to identify the buyer country. * * @param string $country_code * * @return $this */ public function setCountryCode($country_code) { $this->country_code = $country_code; return $this; } /** * Two-letter registered country code of the payer to identify the buyer country. * * @return string */ public function getCountryCode() { return $this->country_code; } /** * Billing address of the Payer. * * @param \PayPal\Api\Address $billing_address * * @return $this */ public function setBillingAddress($billing_address) { $this->billing_address = $billing_address; return $this; } /** * Billing address of the Payer. * * @return \PayPal\Api\Address */ public function getBillingAddress() { return $this->billing_address; } /** * @deprecated [DEPRECATED] Use shipping address present in purchase unit or at root level of checkout Session. * * @param \PayPal\Api\ShippingAddress $shipping_address * * @return $this */ public function setShippingAddress($shipping_address) { $this->shipping_address = $shipping_address; return $this; } /** * @deprecated [DEPRECATED] Use shipping address present in purchase unit or at root level of checkout Session. * * @return \PayPal\Api\ShippingAddress */ public function getShippingAddress() { return $this->shipping_address; } }
[-] PaymentTerm.php
[edit]
[-] Patch.php
[edit]
[-] AgreementTransaction.php
[edit]
[-] OverrideChargeModel.php
[edit]
[-] RefundDetail.php
[edit]
[-] PaymentExecution.php
[edit]
[-] CurrencyConversion.php
[edit]
[-] InvoiceItem.php
[edit]
[-] Terms.php
[edit]
[-] PaymentDetail.php
[edit]
[-] BillingInfo.php
[edit]
[-] CreditCardList.php
[edit]
[-] MerchantInfo.php
[edit]
[-] Links.php
[edit]
[-] Transactions.php
[edit]
[-] PaymentDefinition.php
[edit]
[+]
..
[-] PaymentSummary.php
[edit]
[-] OpenIdError.php
[edit]
[-] BillingAgreementToken.php
[edit]
[-] Sale.php
[edit]
[-] Item.php
[edit]
[-] Address.php
[edit]
[-] InvoiceNumber.php
[edit]
[-] Payee.php
[edit]
[-] TransactionBase.php
[edit]
[-] ExtendedBankAccount.php
[edit]
[-] AgreementStateDescriptor.php
[edit]
[-] RecipientBankingInstruction.php
[edit]
[-] WebProfile.php
[edit]
[-] Payout.php
[edit]
[-] FundingDetail.php
[edit]
[-] CreditFinancingOffered.php
[edit]
[-] PaymentCardToken.php
[edit]
[-] ProcessorResponse.php
[edit]
[-] OpenIdTokeninfo.php
[edit]
[-] PotentialPayerInfo.php
[edit]
[-] MerchantPreferences.php
[edit]
[-] InstallmentInfo.php
[edit]
[-] InvoiceSearchResponse.php
[edit]
[-] FmfDetails.php
[edit]
[-] Agreement.php
[edit]
[-] Incentive.php
[edit]
[-] OpenIdSession.php
[edit]
[-] Plan.php
[edit]
[-] Refund.php
[edit]
[-] BaseAddress.php
[edit]
[-] CreditCardToken.php
[edit]
[-] Amount.php
[edit]
[-] CreateProfileResponse.php
[edit]
[-] AgreementDetails.php
[edit]
[-] Order.php
[edit]
[-] CarrierAccount.php
[edit]
[-] FuturePayment.php
[edit]
[-] FileAttachment.php
[edit]
[-] Image.php
[edit]
[-] Details.php
[edit]
[-] RedirectUrls.php
[edit]
[-] RelatedResources.php
[edit]
[-] AlternatePayment.php
[edit]
[-] PrivateLabelCard.php
[edit]
[-] Tax.php
[edit]
[-] Phone.php
[edit]
[-] Measurement.php
[edit]
[-] RefundRequest.php
[edit]
[-] Payer.php
[edit]
[-] FundingSource.php
[edit]
[-] PayoutBatch.php
[edit]
[-] VerifyWebhookSignatureResponse.php
[edit]
[-] CarrierAccountToken.php
[edit]
[-] PayoutItem.php
[edit]
[-] Authorization.php
[edit]
[-] CreditCardHistory.php
[edit]
[-] WebhookEventTypeList.php
[edit]
[-] TemplateSettingsMetadata.php
[edit]
[-] Cost.php
[edit]
[-] PayoutItemDetails.php
[edit]
[-] NameValuePair.php
[edit]
[-] CancelNotification.php
[edit]
[-] WebhookEvent.php
[edit]
[-] ShippingInfo.php
[edit]
[-] FundingOption.php
[edit]
[-] ShippingAddress.php
[edit]
[-] HyperSchema.php
[edit]
[-] CartBase.php
[edit]
[-] PayerInfo.php
[edit]
[-] Notification.php
[edit]
[-] PaymentHistory.php
[edit]
[-] CustomAmount.php
[edit]
[-] WebhookList.php
[edit]
[-] Credit.php
[edit]
[-] PlanList.php
[edit]
[-] Metadata.php
[edit]
[-] ShippingCost.php
[edit]
[-] TemplateData.php
[edit]
[-] ChargeModel.php
[edit]
[-] Capture.php
[edit]
[-] Transaction.php
[edit]
[-] InputFields.php
[edit]
[-] OpenIdUserinfo.php
[edit]
[-] PatchRequest.php
[edit]
[-] DetailedRefund.php
[edit]
[-] PaymentCard.php
[edit]
[-] AgreementTransactions.php
[edit]
[-] Currency.php
[edit]
[-] Participant.php
[edit]
[-] PaymentOptions.php
[edit]
[-] VerifyWebhookSignature.php
[edit]
[-] BankAccountsList.php
[edit]
[-] Template.php
[edit]
[-] CountryCode.php
[edit]
[-] ErrorDetails.php
[edit]
[-] PaymentInstruction.php
[edit]
[-] TemplateSettings.php
[edit]
[-] Payment.php
[edit]
[-] Search.php
[edit]
[-] InstallmentOption.php
[edit]
[-] Invoice.php
[edit]
[-] BankAccount.php
[edit]
[-] FundingInstrument.php
[edit]
[-] FlowConfig.php
[edit]
[-] ItemList.php
[edit]
[-] Templates.php
[edit]
[-] BankToken.php
[edit]
[-] PayoutSenderBatchHeader.php
[edit]
[-] PayoutBatchHeader.php
[edit]
[-] Presentation.php
[edit]
[-] Billing.php
[edit]
[-] WebhookEventType.php
[edit]
[-] OpenIdAddress.php
[edit]
[-] InvoiceAddress.php
[edit]
[-] CreditCard.php
[edit]
[-] Webhook.php
[edit]
[-] ExternalFunding.php
[edit]
[-] WebhookEventList.php
[edit]
[-] Error.php
[edit]