BraintreeEuropeBankAccount

Braintree EuropeBankAccount module Creates and manages Braintree Europe Bank Accounts.

Defined (1)

The class is defined in the following location(s).

/classes/lib/Braintree/Braintree/EuropeBankAccount.php  
  1. class EuropeBankAccount extends Base 
  2.  
  3. /** instance methods */ 
  4. /** 
  5. * returns false if default is null or false 
  6. * @return boolean 
  7. */ 
  8. public function isDefault() 
  9. return $this->default; 
  10.  
  11. /** 
  12. * factory method: returns an instance of EuropeBankAccount 
  13. * to the requesting method, with populated properties 
  14. * @ignore 
  15. * @return EuropeBankAccount 
  16. */ 
  17. public static function factory($attributes) 
  18. $defaultAttributes = [ 
  19. ]; 
  20.  
  21. $instance = new self(); 
  22. $instance->_initialize(array_merge($defaultAttributes, $attributes)); 
  23. return $instance; 
  24.  
  25. /** 
  26. * sets instance properties from an array of values 
  27. * @access protected 
  28. * @param array $europeBankAccountAttribs array of EuropeBankAccount properties 
  29. * @return void 
  30. */ 
  31. protected function _initialize($europeBankAccountAttribs) 
  32. $this->_attributes = $europeBankAccountAttribs;