public void List(DataModel.Queries.OrderFilter filter, Action <ApiResponse <DataModel.OrderList> > callback)
        {
            UriBuilder uriBuilder = UriBuilderExtension.WithQuery(this.client.GetUriBuilder("/orders/"), filter);

            this.client.DoGetRequest(uriBuilder.Uri, callback);
        }
Esempio n. 2
0
        public async Task <DataModel.OrderList> List(DataModel.Queries.OrderFilter filter)
        {
            UriBuilder uriBuilder = UriBuilderExtension.WithQuery(this.client.GetUriBuilder("/orders/"), filter);

            return(await this.client.DoGetRequest <DataModel.OrderList>(uriBuilder.Uri).ConfigureAwait(false));
        }