Esempio n. 1
0
        public static BatchSummary CloseBatch(BatchCloseType closeType, string configName)
        {
            Transaction response = new ManagementBuilder(TransactionType.BatchClose)
                                   .WithBatchCloseType(closeType)
                                   .Execute(configName);

            return(response.BatchSummary);
        }
Esempio n. 2
0
        public static BatchSummary CloseBatch(BatchCloseType closeType, int transactionTotal, decimal totalCredits, decimal totalDebits, string configName)
        {
            Transaction response = new ManagementBuilder(TransactionType.BatchClose)
                                   .WithBatchTotals(transactionTotal, totalDebits, totalCredits)
                                   .WithBatchCloseType(closeType)
                                   .Execute(configName);

            return(response.BatchSummary);
        }
Esempio n. 3
0
 public static BatchSummary CloseBatch(BatchCloseType closeType, int transactionTotal, decimal totalCredits, decimal totalDebits)
 {
     return(CloseBatch(closeType, transactionTotal, totalCredits, totalDebits, "default"));
 }
Esempio n. 4
0
 public static BatchSummary CloseBatch(BatchCloseType closeType, int batchNumber, int sequenceNumber)
 {
     return(CloseBatch(closeType, batchNumber, sequenceNumber, "default"));
 }
Esempio n. 5
0
 public static BatchSummary CloseBatch(BatchCloseType closeType)
 {
     return(CloseBatch(closeType, "default"));
 }
 public ManagementBuilder WithBatchCloseType(BatchCloseType value)
 {
     BatchCloseType = value;
     return(this);
 }