public static function all(array $arg_params)
    {
        //validate params
        $data = self::getParams($arg_params);
        $url = '/ecommerce/transactions';
        $filters = '';
        if(!empty($data['page'])&&ctype_digit($data['page'])){
            $filters .= 'page='.$data['page'];
        }
        if(!empty($filters))$filters='?'.$filters;

        //submit to api
        $transactions_data = APIRequests::request(
            $url.$filters,
            APIRequests::METHOD_GET
        );

        //return response
        return self::toListObj($transactions_data['body']);
    }