Файл: Main Website Files/assets/libraries/stripe-php-2.2.0/lib/BalanceTransaction.php
Строк: 44
<?php
namespace Stripe;
class BalanceTransaction extends ApiResource
{
/**
* @return string The class URL for this resource. It needs to be special
* cased because it doesn't fit into the standard resource pattern.
*/
public static function classUrl()
{
return "/v1/balance/history";
}
/**
* @param string $id The ID of the balance transaction to retrieve.
* @param array|string|null $opts
*
* @return BalanceTransaction
*/
public static function retrieve($id, $opts = null)
{
return self::_retrieve($id, $opts);
}
/**
* @param array|null $params
* @param array|string|null $opts
*
* @return array An array of BalanceTransactions.
*/
public static function all($params = null, $opts = null)
{
return self::_all($params, $opts);
}
}