[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 class Stripe_BalanceTransaction extends Stripe_ApiResource 4 { 5 /** 6 * @param string $class Ignored. 7 * 8 * @return string The class URL for this resource. It needs to be special 9 * cased because it doesn't fit into the standard resource pattern. 10 */ 11 public static function classUrl($class) 12 { 13 return "/v1/balance/history"; 14 } 15 16 /** 17 * @param string $id The ID of the balance transaction to retrieve. 18 * @param string|null $apiKey 19 * 20 * @return Stripe_BalanceTransaction 21 */ 22 public static function retrieve($id, $apiKey=null) 23 { 24 $class = get_class(); 25 return self::_scopedRetrieve($class, $id, $apiKey); 26 } 27 28 /** 29 * @param array|null $params 30 * @param string|null $apiKey 31 * 32 * @return array An array of Stripe_BalanceTransactions. 33 */ 34 public static function all($params=null, $apiKey=null) 35 { 36 $class = get_class(); 37 return self::_scopedAll($class, $params, $apiKey); 38 } 39 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |