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 FundingSource

Class FundingSource

specifies the funding source details.

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

Methods summary

public
# setFundingMode( string $funding_mode )

specifies funding mode of the instrument Valid Values: ["INSTANT_TRANSFER", "MANUAL_BANK_TRANSFER", "DELAYED_TRANSFER", "ECHECK", "PAY_UPON_INVOICE"]

specifies funding mode of the instrument Valid Values: ["INSTANT_TRANSFER", "MANUAL_BANK_TRANSFER", "DELAYED_TRANSFER", "ECHECK", "PAY_UPON_INVOICE"]

Parameters

$funding_mode

Returns


$this
public string
# getFundingMode( )

specifies funding mode of the instrument

specifies funding mode of the instrument

Returns

string
public
# setFundingInstrumentType( string $funding_instrument_type )

Instrument type for this funding source Valid Values: ["BALANCE", "PAYMENT_CARD", "BANK_ACCOUNT", "CREDIT", "INCENTIVE", "EXTERNAL_FUNDING", "TAB"]

Instrument type for this funding source Valid Values: ["BALANCE", "PAYMENT_CARD", "BANK_ACCOUNT", "CREDIT", "INCENTIVE", "EXTERNAL_FUNDING", "TAB"]

Parameters

$funding_instrument_type

Returns


$this
public string
# getFundingInstrumentType( )

Instrument type for this funding source

Instrument type for this funding source

Returns

string
public
# setSoftDescriptor( string $soft_descriptor )

Soft descriptor used when charging this funding source.

Soft descriptor used when charging this funding source.

Parameters

$soft_descriptor

Returns


$this
public string
# getSoftDescriptor( )

Soft descriptor used when charging this funding source.

Soft descriptor used when charging this funding source.

Returns

string
public
# setAmount( PayPal\Api\Currency $amount )

Total anticipated amount of money to be pulled from instrument.

Total anticipated amount of money to be pulled from instrument.

Parameters

$amount

Returns


$this
public PayPal\Api\Currency
# getAmount( )

Total anticipated amount of money to be pulled from instrument.

Total anticipated amount of money to be pulled from instrument.

Returns

PayPal\Api\Currency
public
# setNegativeBalanceAmount( PayPal\Api\Currency $negative_balance_amount )

Additional amount to be pulled from the instrument to recover a negative balance on the buyer's account that is owed to PayPal.

Additional amount to be pulled from the instrument to recover a negative balance on the buyer's account that is owed to PayPal.

Parameters

$negative_balance_amount

Returns


$this
public PayPal\Api\Currency
# getNegativeBalanceAmount( )

Additional amount to be pulled from the instrument to recover a negative balance on the buyer's account that is owed to PayPal.

Additional amount to be pulled from the instrument to recover a negative balance on the buyer's account that is owed to PayPal.

Returns

PayPal\Api\Currency
public
# setLegalText( string $legal_text )

Localized legal text relevant to funding source.

Localized legal text relevant to funding source.

Parameters

$legal_text

Returns


$this
public string
# getLegalText( )

Localized legal text relevant to funding source.

Localized legal text relevant to funding source.

Returns

string
public
# setFundingDetail( PayPal\Api\FundingDetail $funding_detail )

Additional detail of the funding.

Additional detail of the funding.

Parameters

$funding_detail

Returns


$this
public PayPal\Api\FundingDetail
# getFundingDetail( )

Additional detail of the funding.

Additional detail of the funding.

Returns

PayPal\Api\FundingDetail
public
# setAdditionalText( string $additional_text )

Additional text relevant to funding source.

Additional text relevant to funding source.

Parameters

$additional_text

Returns


$this
public string
# getAdditionalText( )

Additional text relevant to funding source.

Additional text relevant to funding source.

Returns

string
public
# setExtends( PayPal\Api\FundingInstrument $extends )

Sets Extends

Sets Extends

Deprecated

Unused

Parameters

$extends

Returns


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

Gets Extends

Gets Extends

Deprecated

Unused

Returns

PayPal\Api\FundingInstrument
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\Api\FundingInstrument

getAlternatePayment(), getBankAccount(), getBankAccountToken(), getBilling(), getCarrierAccount(), getCarrierAccountToken(), getCredit(), getCreditCard(), getCreditCardToken(), getExternalFunding(), getIncentive(), getPaymentCard(), getPrivateLabelCard(), setAlternatePayment(), setBankAccount(), setBankAccountToken(), setBilling(), setCarrierAccount(), setCarrierAccountToken(), setCredit(), setCreditCard(), setCreditCardToken(), setExternalFunding(), setIncentive(), setPaymentCard(), setPrivateLabelCard()

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