public static BatchSummary CloseBatch(BatchCloseType closeType, string configName) { Transaction response = new ManagementBuilder(TransactionType.BatchClose) .WithBatchCloseType(closeType) .Execute(configName); return(response.BatchSummary); }
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); }
public static BatchSummary CloseBatch(BatchCloseType closeType, int transactionTotal, decimal totalCredits, decimal totalDebits) { return(CloseBatch(closeType, transactionTotal, totalCredits, totalDebits, "default")); }
public static BatchSummary CloseBatch(BatchCloseType closeType, int batchNumber, int sequenceNumber) { return(CloseBatch(closeType, batchNumber, sequenceNumber, "default")); }
public static BatchSummary CloseBatch(BatchCloseType closeType) { return(CloseBatch(closeType, "default")); }
public ManagementBuilder WithBatchCloseType(BatchCloseType value) { BatchCloseType = value; return(this); }