PPPStripeBalanceTransaction

Class BalanceTransaction.

Defined (1)

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

/includes/api/stripe-php/lib/BalanceTransaction.php  
  1. class BalanceTransaction extends ApiResource 
  2. /** 
  3. * @return string The class URL for this resource. It needs to be special 
  4. * cased because it doesn't fit into the standard resource pattern. 
  5. */ 
  6. public static function classUrl() 
  7. return "/v1/balance/history"; 
  8.  
  9. /** 
  10. * @param string $id The ID of the balance transaction to retrieve. 
  11. * @param array|string|null $opts 
  12. * @return BalanceTransaction 
  13. */ 
  14. public static function retrieve($id, $opts = null) 
  15. return self::_retrieve($id, $opts); 
  16.  
  17. /** 
  18. * @param array|null $params 
  19. * @param array|string|null $opts 
  20. * @return Collection of BalanceTransactions 
  21. */ 
  22. public static function all($params = null, $opts = null) 
  23. return self::_all($params, $opts);