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 FundingOption

Class FundingOption

specifies the funding option details.

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

Methods summary

public
# setId( string $id )

id of the funding option.

id of the funding option.

Parameters

$id

Returns


$this
public string
# getId( )

id of the funding option.

id of the funding option.

Returns

string
public
# setFundingSources( PayPal\Api\FundingSource[] $funding_sources )

List of funding sources that contributes to a payment.

List of funding sources that contributes to a payment.

Parameters

$funding_sources

Returns


$this
public PayPal\Api\FundingSource[]
# getFundingSources( )

List of funding sources that contributes to a payment.

List of funding sources that contributes to a payment.

Returns

PayPal\Api\FundingSource[]
public
# addFundingSource( PayPal\Api\FundingSource $fundingSource )

Append FundingSources to the list.

Append FundingSources to the list.

Parameters

$fundingSource

Returns


$this
public
# removeFundingSource( PayPal\Api\FundingSource $fundingSource )

Remove FundingSources from the list.

Remove FundingSources from the list.

Parameters

$fundingSource

Returns


$this
public
# setBackupFundingInstrument( PayPal\Api\FundingInstrument $backup_funding_instrument )

Backup funding instrument which will be used for payment if primary fails.

Backup funding instrument which will be used for payment if primary fails.

Parameters

$backup_funding_instrument

Returns


$this
public PayPal\Api\FundingInstrument
# getBackupFundingInstrument( )

Backup funding instrument which will be used for payment if primary fails.

Backup funding instrument which will be used for payment if primary fails.

Returns

PayPal\Api\FundingInstrument
public
# setCurrencyConversion( PayPal\Api\CurrencyConversion $currency_conversion )

Currency conversion applicable to this funding option.

Currency conversion applicable to this funding option.

Parameters

$currency_conversion

Returns


$this
public PayPal\Api\CurrencyConversion
# getCurrencyConversion( )

Currency conversion applicable to this funding option.

Currency conversion applicable to this funding option.

Returns

PayPal\Api\CurrencyConversion
public
# setInstallmentInfo( PayPal\Api\InstallmentInfo $installment_info )

Installment options available for a funding option.

Installment options available for a funding option.

Parameters

$installment_info

Returns


$this
public PayPal\Api\InstallmentInfo
# getInstallmentInfo( )

Installment options available for a funding option.

Installment options available for a funding option.

Returns

PayPal\Api\InstallmentInfo
public
# setLinks( PayPal\Api\Links[] $links )

Sets Links

Sets Links

Parameters

$links

Returns


$this
public PayPal\Api\Links[]
# getLinks( )

Gets Links

Gets Links

Returns

PayPal\Api\Links[]
public
# addLink( PayPal\Api\Links $links )

Append Links to the list.

Append Links to the list.

Parameters

$links

Returns


$this
public
# removeLink( PayPal\Api\Links $links )

Remove Links from the list.

Remove Links from the list.

Parameters

$links

Returns


$this

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