src/Didww/API2/Balance.php
public static function getBalanceList()
    {
        $balances = array();
        foreach (self::_getAllBalances() as $value) {
            $value = (array)$value;
            unset($value['result']);
            unset($value['error']);
            $balance = new Balance(array("prepaid_balance" => $value['prepaid_balance_amount'], "customer_id" => $value["customer_id"]));
            $balances[$value['customer_id']] = $balance;
        }
        return $balances;
    }
public static function getBalanceList()
    {
        $balances = array();
        foreach (self::_getAllBalances() as $value) {
            $value = (array)$value;
            unset($value['result']);
            unset($value['error']);
            $balance = new Balance(array("prepaid_balance" => $value['prepaid_balance_amount'], "customer_id" => $value["customer_id"]));
            $balances[$value['customer_id']] = $balance;
        }
        return $balances;
    }
method to return list of DidwwBalance objects from API
@link http://open.didww.com/index.php/16._Get_Prepaid_Balance_List
@todo change name to getList
@return array