Overview
  • Namespace
  • Class

Namespaces

  • PayPal
    • Api
    • Auth
    • Cache
    • Common
    • Converter
    • Core
    • Exception
    • Handler
    • Log
    • Rest
    • Security
    • Transport
    • Validation

Classes

  • Address
  • Agreement
  • AgreementDetails
  • AgreementStateDescriptor
  • AgreementTransaction
  • AgreementTransactions
  • AlternatePayment
  • Amount
  • Authorization
  • BankAccount
  • BankAccountsList
  • BankToken
  • BaseAddress
  • Billing
  • BillingAgreementToken
  • BillingInfo
  • CancelNotification
  • Capture
  • CarrierAccount
  • CarrierAccountToken
  • CartBase
  • ChargeModel
  • Cost
  • CountryCode
  • CreateProfileResponse
  • Credit
  • CreditCard
  • CreditCardHistory
  • CreditCardList
  • CreditCardToken
  • CreditFinancingOffered
  • Currency
  • CurrencyConversion
  • CustomAmount
  • DetailedRefund
  • Details
  • Error
  • ErrorDetails
  • ExtendedBankAccount
  • ExternalFunding
  • FileAttachment
  • FlowConfig
  • FmfDetails
  • FundingDetail
  • FundingInstrument
  • FundingOption
  • FundingSource
  • FuturePayment
  • HyperSchema
  • Image
  • Incentive
  • InputFields
  • InstallmentInfo
  • InstallmentOption
  • Invoice
  • InvoiceAddress
  • InvoiceItem
  • InvoiceNumber
  • InvoiceSearchResponse
  • Item
  • ItemList
  • Links
  • Measurement
  • MerchantInfo
  • MerchantPreferences
  • Metadata
  • NameValuePair
  • Notification
  • OpenIdAddress
  • OpenIdError
  • OpenIdSession
  • OpenIdTokeninfo
  • OpenIdUserinfo
  • Order
  • OverrideChargeModel
  • Participant
  • Patch
  • PatchRequest
  • Payee
  • Payer
  • PayerInfo
  • Payment
  • PaymentCard
  • PaymentCardToken
  • PaymentDefinition
  • PaymentDetail
  • PaymentExecution
  • PaymentHistory
  • PaymentInstruction
  • PaymentOptions
  • PaymentSummary
  • PaymentTerm
  • Payout
  • PayoutBatch
  • PayoutBatchHeader
  • PayoutItem
  • PayoutItemDetails
  • PayoutSenderBatchHeader
  • Phone
  • Plan
  • PlanList
  • PotentialPayerInfo
  • Presentation
  • PrivateLabelCard
  • ProcessorResponse
  • RecipientBankingInstruction
  • RedirectUrls
  • Refund
  • RefundDetail
  • RefundRequest
  • RelatedResources
  • Sale
  • Search
  • ShippingAddress
  • ShippingCost
  • ShippingInfo
  • Tax
  • Template
  • TemplateData
  • Templates
  • TemplateSettings
  • TemplateSettingsMetadata
  • Terms
  • Transaction
  • TransactionBase
  • Transactions
  • VerifyWebhookSignature
  • VerifyWebhookSignatureResponse
  • Webhook
  • WebhookEvent
  • WebhookEventList
  • WebhookEventType
  • WebhookEventTypeList
  • WebhookList
  • WebProfile

Class BillingInfo

Class BillingInfo

Billing information for the invoice recipient.

PayPal\Common\PayPalModel
Extended by PayPal\Api\BillingInfo
Namespace: PayPal\Api
Package: PayPal\Api
Located at PayPal/Api/BillingInfo.php

Methods summary

public
# setEmail( string $email )

The invoice recipient email address. Maximum length is 260 characters.

The invoice recipient email address. Maximum length is 260 characters.

Parameters

$email

Returns


$this
public string
# getEmail( )

The invoice recipient email address. Maximum length is 260 characters.

The invoice recipient email address. Maximum length is 260 characters.

Returns

string
public
# setFirstName( string $first_name )

The invoice recipient first name. Maximum length is 30 characters.

The invoice recipient first name. Maximum length is 30 characters.

Parameters

$first_name

Returns


$this
public string
# getFirstName( )

The invoice recipient first name. Maximum length is 30 characters.

The invoice recipient first name. Maximum length is 30 characters.

Returns

string
public
# setLastName( string $last_name )

The invoice recipient last name. Maximum length is 30 characters.

The invoice recipient last name. Maximum length is 30 characters.

Parameters

$last_name

Returns


$this
public string
# getLastName( )

The invoice recipient last name. Maximum length is 30 characters.

The invoice recipient last name. Maximum length is 30 characters.

Returns

string
public
# setBusinessName( string $business_name )

The invoice recipient company business name. Maximum length is 100 characters.

The invoice recipient company business name. Maximum length is 100 characters.

Parameters

$business_name

Returns


$this
public string
# getBusinessName( )

The invoice recipient company business name. Maximum length is 100 characters.

The invoice recipient company business name. Maximum length is 100 characters.

Returns

string
public
# setAddress( PayPal\Api\InvoiceAddress $address )

The invoice recipient address.

The invoice recipient address.

Parameters

$address

Returns


$this
public PayPal\Api\InvoiceAddress
# getAddress( )

The invoice recipient address.

The invoice recipient address.

Returns

PayPal\Api\InvoiceAddress
public
# setLanguage( string $language )

The language in which the email was sent to the payer. Used only when the payer does not have a PayPal account. Valid Values: ["da_DK", "de_DE", "en_AU", "en_GB", "en_US", "es_ES", "es_XC", "fr_CA", "fr_FR", "fr_XC", "he_IL", "id_ID", "it_IT", "ja_JP", "nl_NL", "no_NO", "pl_PL", "pt_BR", "pt_PT", "ru_RU", "sv_SE", "th_TH", "tr_TR", "zh_CN", "zh_HK", "zh_TW", "zh_XC"]

The language in which the email was sent to the payer. Used only when the payer does not have a PayPal account. Valid Values: ["da_DK", "de_DE", "en_AU", "en_GB", "en_US", "es_ES", "es_XC", "fr_CA", "fr_FR", "fr_XC", "he_IL", "id_ID", "it_IT", "ja_JP", "nl_NL", "no_NO", "pl_PL", "pt_BR", "pt_PT", "ru_RU", "sv_SE", "th_TH", "tr_TR", "zh_CN", "zh_HK", "zh_TW", "zh_XC"]

Parameters

$language

Returns


$this
public string
# getLanguage( )

The language in which the email was sent to the payer. Used only when the payer does not have a PayPal account.

The language in which the email was sent to the payer. Used only when the payer does not have a PayPal account.

Returns

string
public
# setAdditionalInfo( string $additional_info )

Additional information, such as business hours. Maximum length is 40 characters.

Additional information, such as business hours. Maximum length is 40 characters.

Parameters

$additional_info

Returns


$this
public string
# getAdditionalInfo( )

Additional information, such as business hours. Maximum length is 40 characters.

Additional information, such as business hours. Maximum length is 40 characters.

Returns

string
public
# setNotificationChannel( string $notification_channel )

Preferred notification channel of the payer. Email by default. Valid Values: ["SMS", "EMAIL"]

Preferred notification channel of the payer. Email by default. Valid Values: ["SMS", "EMAIL"]

Parameters

$notification_channel

Returns


$this
public string
# getNotificationChannel( )

Preferred notification channel of the payer. Email by default.

Preferred notification channel of the payer. Email by default.

Returns

string
public
# setPhone( PayPal\Api\Phone $phone )

Mobile Phone number of the recipient to which SMS will be sent if notification_channel is SMS.

Mobile Phone number of the recipient to which SMS will be sent if notification_channel is SMS.

Parameters

$phone

Returns


$this
public PayPal\Api\Phone
# getPhone( )

Mobile Phone number of the recipient to which SMS will be sent if notification_channel is SMS.

Mobile Phone number of the recipient to which SMS will be sent if notification_channel is SMS.

Returns

PayPal\Api\Phone

Methods inherited from PayPal\Common\PayPalModel

__construct(), __get(), __isset(), __set(), __toString(), __unset(), fromArray(), fromJson(), getList(), setCredential(), toArray(), toJSON()

Properties summary

Properties inherited from PayPal\Common\PayPalModel

$credential

API documentation generated by ApiGen