M2_Stripe_BalanceTransaction

The Membership 2 M2 Stripe BalanceTransaction class.

Defined (1)

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

/lib/stripe-php/lib/Stripe/BalanceTransaction.php  
  1. class M2_Stripe_BalanceTransaction extends M2_Stripe_ApiResource 
  2. /** 
  3. * @param string $class Ignored. 
  4. * @return string The class URL for this resource. It needs to be special 
  5. * cased because it doesn't fit into the standard resource pattern. 
  6. */ 
  7. public static function classUrl($class) 
  8. return "/v1/balance/history"; 
  9.  
  10. /** 
  11. * @param string $id The ID of the balance transaction to retrieve. 
  12. * @param string|null $apiKey 
  13. * @return Stripe_BalanceTransaction 
  14. */ 
  15. public static function retrieve($id, $apiKey=null) 
  16. $class = get_class(); 
  17. return self::_scopedRetrieve($class, $id, $apiKey); 
  18.  
  19. /** 
  20. * @param array|null $params 
  21. * @param string|null $apiKey 
  22. * @return array An array of Stripe_BalanceTransactions. 
  23. */ 
  24. public static function all($params=null, $apiKey=null) 
  25. $class = get_class(); 
  26. return self::_scopedAll($class, $params, $apiKey);