public Result<SettlementBatchSummary> Generate(DateTime settlementDate) { SettlementBatchSummaryRequest request = new SettlementBatchSummaryRequest { SettlementDate = settlementDate }; return GetSummary(request); }
public Result<SettlementBatchSummary> Generate(DateTime settlementDate, string groupByCustomField) { SettlementBatchSummaryRequest request = new SettlementBatchSummaryRequest { SettlementDate = settlementDate, GroupByCustomField = groupByCustomField }; return GetSummary(request); }
public Result <SettlementBatchSummary> Generate(DateTime settlementDate) { var request = new SettlementBatchSummaryRequest { SettlementDate = settlementDate }; return(GetSummary(request)); }
public Task <Result <SettlementBatchSummary> > GenerateAsync(DateTime settlementDate) { var request = new SettlementBatchSummaryRequest { SettlementDate = settlementDate }; return(GetSummaryAsync(request)); }
public Result <SettlementBatchSummary> Generate(DateTime settlementDate, string groupByCustomField) { var request = new SettlementBatchSummaryRequest { SettlementDate = settlementDate, GroupByCustomField = groupByCustomField }; return(GetSummary(request)); }
public async Task <Result <SettlementBatchSummary> > GenerateAsync(DateTime settlementDate, string groupByCustomField) { var request = new SettlementBatchSummaryRequest { SettlementDate = settlementDate, GroupByCustomField = groupByCustomField }; return(await GetSummaryAsync(request)); }
private Result<SettlementBatchSummary> GetSummary(SettlementBatchSummaryRequest request) { NodeWrapper response = new NodeWrapper(Service.Post("/settlement_batch_summary", request)); return new Result<SettlementBatchSummary>(response, Service); }
private Result<SettlementBatchSummary> GetSummary(SettlementBatchSummaryRequest request) { var response = new NodeWrapper(service.Post(service.MerchantPath() + "/settlement_batch_summary", request)); return new ResultImpl<SettlementBatchSummary>(response, gateway); }
private Result <SettlementBatchSummary> GetSummary(SettlementBatchSummaryRequest request) { var response = new NodeWrapper(service.Post(service.MerchantPath() + "/settlement_batch_summary", request)); return(new ResultImpl <SettlementBatchSummary>(response, gateway)); }
private async Task <Result <SettlementBatchSummary> > GetSummaryAsync(SettlementBatchSummaryRequest request) { var response = new NodeWrapper(await service.PostAsync(service.MerchantPath() + "/settlement_batch_summary", request).ConfigureAwait(false)); return(new ResultImpl <SettlementBatchSummary>(response, gateway)); }
private Result <SettlementBatchSummary> GetSummary(SettlementBatchSummaryRequest request) { NodeWrapper response = new NodeWrapper(Service.Post("/settlement_batch_summary", request)); return(new ResultImpl <SettlementBatchSummary>(response, Service)); }