BraintreeDiscount

The PayPal for WooCommerce Braintree Discount class.

Defined (1)

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

/classes/lib/Braintree/Braintree/Discount.php  
  1. class Discount extends Modification 
  2. public static function factory($attributes) 
  3. $instance = new self(); 
  4. $instance->_initialize($attributes); 
  5. return $instance; 
  6.  
  7.  
  8. // static methods redirecting to gateway 
  9.  
  10. public static function all() 
  11. return Configuration::gateway()->discount()->all();