public BaseResponse <PagingResponse <GetCustomerResponse>, MundipaggErrorsResponse> ListCustomers(ListCustomersRequest request)
        {
            var method   = HttpMethod.Get;
            var endpoint = $"/customers";
            var query    = request.ToDictionary();

            return(this.SendRequest <PagingResponse <GetCustomerResponse> >(method, endpoint, query: query));
        }
示例#2
0
        public BaseResponse <ListCustomersResponse> ListCustomers(ListCustomersRequest request)
        {
            var method   = HttpMethod.Get;
            var endpoint = $"/customers";
            var query    = request.ToDictionary();

            return(this.HttpClientUtil.SendRequest <ListCustomersResponse>(method, endpoint, query));
        }