BraintreePaymentMethod

Creates and manages Braintree PaymentMethods.

Defined (1)

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

/includes/lib/Braintree/lib/Braintree/PaymentMethod.php  
  1. class PaymentMethod extends Base 
  2. // static methods redirecting to gateway 
  3.  
  4. public static function create($attribs) 
  5. return Configuration::gateway()->paymentMethod()->create($attribs); 
  6.  
  7. public static function find($token) 
  8. return Configuration::gateway()->paymentMethod()->find($token); 
  9.  
  10. public static function update($token, $attribs) 
  11. return Configuration::gateway()->paymentMethod()->update($token, $attribs); 
  12.  
  13. public static function delete($token, $options=[]) 
  14. return Configuration::gateway()->paymentMethod()->delete($token, $options);