BraintreeAddOn

The PayPal for WooCommerce Braintree AddOn class.

Defined (1)

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

/classes/lib/Braintree/Braintree/AddOn.php  
  1. class AddOn extends Modification 
  2. /** 
  3. * @param array $attributes 
  4. * @return AddOn 
  5. */ 
  6. public static function factory($attributes) 
  7. $instance = new self(); 
  8. $instance->_initialize($attributes); 
  9. return $instance; 
  10.  
  11.  
  12. /** 
  13. * static methods redirecting to gateway 
  14. * @return AddOn[] 
  15. */ 
  16. public static function all() 
  17. return Configuration::gateway()->addOn()->all();