A class for building requests to pull settlement batch result summaries.
상속: Braintree.Request
 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));
        }
예제 #4
0
        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));
        }
예제 #10
0
        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));
        }
예제 #11
0
        private Result <SettlementBatchSummary> GetSummary(SettlementBatchSummaryRequest request)
        {
            NodeWrapper response = new NodeWrapper(Service.Post("/settlement_batch_summary", request));

            return(new ResultImpl <SettlementBatchSummary>(response, Service));
        }