internal ChoNACHAEntryDetailWriter(ChoManifoldWriter writer, ChoNACHARunningStat batchRunningStatObject, ChoNACHAConfiguration configuration) { _configuration = configuration; _writer = writer; _batchRunningStatObject = batchRunningStatObject; _entryDetailWriter = new Lazy <bool>(() => { WriteEntryDetail(); return(true); }); }
internal ChoNACHABatchWriter(ChoManifoldWriter writer, ChoNACHARunningStat fileRunningStatObject, ChoNACHAConfiguration configuration) { _configuration = configuration; _writer = writer; _batchRunningStatObject = new ChoNACHARunningStat(); _fileRunningStatObject = fileRunningStatObject; _batchHeaderWriter = new Lazy <bool>(() => { WriteBatchHeader(); return(true); }); }
public void UpdateStat(ChoNACHARunningStat src) { if (this == src) { return; } IncRecordCountBy(src.TotalNoOfRecord); IncAddendaRecordCountBy(src.AddendaEntryCount); EntryHash += src.EntryHash; TotalDebitEntryDollarAmount += src.TotalDebitEntryDollarAmount; TotalCreditEntryDollarAmount += src.TotalCreditEntryDollarAmount; }