public BatchHeaderRecord(BrokerOrigin a_CompanyOrigin) { if (a_CompanyOrigin == null) { throw new ArgumentNullException(); } _recordTypeCode = NachaFile.RecordTypeCode.BatchHeaderRecord; _serviceClassCode = Batch.ServiceClassCode.Undefined; _companyOrigin = a_CompanyOrigin; _discretionaryData = String.Empty; _standardEntryClass = Batch.StandardEntryClass.Undefined; _companyEntryDescription = String.Empty; _companyDescriptiveDate = DateTime.MinValue; _effectiveEntryDate = DateTime.MinValue; _settlementDate = String.Empty; _originatorStatusCode = _OriginatorStatusCode; _originatingFinancialInstitutionId = String.Empty; _batchNumber = ++Batch.batchCount; IsValidated = false; }
public FileHeaderRecord(BrokerBankAccount a_ImmediateDestination, BrokerOrigin a_ImmediateOrigin, string a_FileIdModifier = NachaFile.DEFAULT_FILE_ID_MODIFIER, string a_ReferenceCode = "1") { if (a_ImmediateDestination == null) { throw new ArgumentNullException(); } if (a_ImmediateOrigin == null) { throw new ArgumentNullException(); } _recordTypeCode = NachaFile.RecordTypeCode.FileHeaderRecord; _priorityCode = NachaFile.PRIORITY_CODE; _immediateDestination = a_ImmediateDestination; _immediateOrigin = a_ImmediateOrigin; _fileCreationDateAndTime = DateTime.Now; _fileIdModifier = a_FileIdModifier; _recordSize = NachaFile.RECORD_SIZE; _blockingFactor = NachaFile.BLOCKING_FACTOR; _formatCode = NachaFile.FORMAT_CODE; _referenceCode = a_ReferenceCode; IsValidated = false; }
public EntryDetailRecord() { _recordTypeCode = NachaFile.RecordTypeCode.EntryDetailRecord; }