public BaseResponse <PagingResponse <GetChargeResponse>, MundipaggErrorsResponse> ListCharges(ListChargesRequest request) { var method = HttpMethod.Get; var endpoint = $"/charges"; var query = request.ToDictionary(); return(this.SendRequest <PagingResponse <GetChargeResponse> >(method, endpoint, null, query)); }
public BaseResponse <ListChargesResponse> ListCharges(ListChargesRequest request) { var method = HttpMethod.Get; var endpoint = $"/charges"; var query = request.ToDictionary(); return(this.HttpClientUtil.SendRequest <ListChargesResponse>(method, endpoint, null, query)); }