Seditio Source
Root |
./othercms/xenForo 2.2.8/src/vendor/braintree/braintree_php/lib/Braintree/MerchantAccount/BusinessDetails.php
<?php
namespace Braintree\MerchantAccount;

use
Braintree\Base;

class
BusinessDetails extends Base
{
    protected function
_initialize($businessAttribs)
    {
       
$this->_attributes = $businessAttribs;
        if (isset(
$businessAttribs['address'])) {
           
$this->_set('addressDetails', new AddressDetails($businessAttribs['address']));
        }
    }

    public static function
factory($attributes)
    {
       
$instance = new self();
       
$instance->_initialize($attributes);
        return
$instance;
    }
}
class_alias('Braintree\MerchantAccount\BusinessDetails', 'Braintree_MerchantAccount_BusinessDetails');