[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: FundingSource.php
<?php namespace PayPal\Api; use PayPal\Common\PayPalModel; /** * Class FundingSource * * specifies the funding source details. * * @package PayPal\Api * * @property string funding_mode * @property string funding_instrument_type * @property string soft_descriptor * @property \PayPal\Api\Currency amount * @property \PayPal\Api\Currency negative_balance_amount * @property string legal_text * @property \PayPal\Api\FundingDetail funding_detail * @property string additional_text * @property \PayPal\Api\Links[] links */ class FundingSource extends FundingInstrument { /** * specifies funding mode of the instrument * Valid Values: ["INSTANT_TRANSFER", "MANUAL_BANK_TRANSFER", "DELAYED_TRANSFER", "ECHECK", "PAY_UPON_INVOICE"] * * @param string $funding_mode * * @return $this */ public function setFundingMode($funding_mode) { $this->funding_mode = $funding_mode; return $this; } /** * specifies funding mode of the instrument * * @return string */ public function getFundingMode() { return $this->funding_mode; } /** * Instrument type for this funding source * Valid Values: ["BALANCE", "PAYMENT_CARD", "BANK_ACCOUNT", "CREDIT", "INCENTIVE", "EXTERNAL_FUNDING", "TAB"] * * @param string $funding_instrument_type * * @return $this */ public function setFundingInstrumentType($funding_instrument_type) { $this->funding_instrument_type = $funding_instrument_type; return $this; } /** * Instrument type for this funding source * * @return string */ public function getFundingInstrumentType() { return $this->funding_instrument_type; } /** * Soft descriptor used when charging this funding source. * * @param string $soft_descriptor * * @return $this */ public function setSoftDescriptor($soft_descriptor) { $this->soft_descriptor = $soft_descriptor; return $this; } /** * Soft descriptor used when charging this funding source. * * @return string */ public function getSoftDescriptor() { return $this->soft_descriptor; } /** * Total anticipated amount of money to be pulled from instrument. * * @param \PayPal\Api\Currency $amount * * @return $this */ public function setAmount($amount) { $this->amount = $amount; return $this; } /** * Total anticipated amount of money to be pulled from instrument. * * @return \PayPal\Api\Currency */ public function getAmount() { return $this->amount; } /** * Additional amount to be pulled from the instrument to recover a negative balance on the buyer's account that is owed to PayPal. * * @param \PayPal\Api\Currency $negative_balance_amount * * @return $this */ public function setNegativeBalanceAmount($negative_balance_amount) { $this->negative_balance_amount = $negative_balance_amount; return $this; } /** * Additional amount to be pulled from the instrument to recover a negative balance on the buyer's account that is owed to PayPal. * * @return \PayPal\Api\Currency */ public function getNegativeBalanceAmount() { return $this->negative_balance_amount; } /** * Localized legal text relevant to funding source. * * @param string $legal_text * * @return $this */ public function setLegalText($legal_text) { $this->legal_text = $legal_text; return $this; } /** * Localized legal text relevant to funding source. * * @return string */ public function getLegalText() { return $this->legal_text; } /** * Additional detail of the funding. * * @param \PayPal\Api\FundingDetail $funding_detail * * @return $this */ public function setFundingDetail($funding_detail) { $this->funding_detail = $funding_detail; return $this; } /** * Additional detail of the funding. * * @return \PayPal\Api\FundingDetail */ public function getFundingDetail() { return $this->funding_detail; } /** * Additional text relevant to funding source. * * @param string $additional_text * * @return $this */ public function setAdditionalText($additional_text) { $this->additional_text = $additional_text; return $this; } /** * Additional text relevant to funding source. * * @return string */ public function getAdditionalText() { return $this->additional_text; } /** * Sets Extends * * @param \PayPal\Api\FundingInstrument $extends * * @deprecated Unused * * @return $this */ public function setExtends($extends) { $this->extends = $extends; return $this; } /** * Gets Extends * * @deprecated Unused * * @return \PayPal\Api\FundingInstrument */ public function getExtends() { return $this->extends; } /** * Sets Links * * @param \PayPal\Api\Links[] $links * * @return $this */ public function setLinks($links) { $this->links = $links; return $this; } /** * Gets Links * * @return \PayPal\Api\Links[] */ public function getLinks() { return $this->links; } /** * Append Links to the list. * * @param \PayPal\Api\Links $links * @return $this */ public function addLink($links) { if (!$this->getLinks()) { return $this->setLinks(array($links)); } else { return $this->setLinks( array_merge($this->getLinks(), array($links)) ); } } /** * Remove Links from the list. * * @param \PayPal\Api\Links $links * @return $this */ public function removeLink($links) { return $this->setLinks( array_diff($this->getLinks(), array($links)) ); } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.85 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285