class Nacha::BatchHeader
- Nacha::BatchHeader
- Reference
- Object
Overview
This record indicates the effective entry date (the date you request the deposits/debits to be settled). In addition, this record identifies your company and provides an entry description for the credit and debits in this batch.
Included Modules
Defined in:
nacha/batch_header.crConstant Summary
-
TYPE_CODE =
5
Constructors
- .new(service_class_code : Batch::ServiceClassCode, company_name : String, company_identification : String, standard_entry_class : StandardEntryClass, company_entry_description : String, effective_entry_date : Time, originating_dfi_identification : String, originator_status_code : Char, company_discretionary_data : String | Nil = nil, company_descriptive_date : Time | Nil = nil, settlement_date : Int32 | Nil = nil, batch_number : Int32 = 1)
- .parse(input : String) : self
Class Method Summary
Instance Method Summary
- #batch_number : Int32
-
#build(io : IO) : IO
Convert the record in to the record line
- #company_descriptive_date : Time | Nil
- #company_discretionary_data : String | Nil
- #company_entry_description : String
- #company_identification : String
- #company_name : String
- #effective_entry_date : Time
- #errors : Hash(String, Array(String))
- #errors=(errors : Hash(String, Array(String)))
- #originating_dfi_identification : String
- #originator_status_code : Char
- #service_class_code : Batch::ServiceClassCode
- #settlement_date : Int32 | Nil
- #standard_entry_class : StandardEntryClass
Constructor methods inherited from module ParsableRecord
parse(input : String) : self
parse
Class methods inherited from module ParsableRecord
raise_parse_failed_error(field : String, value : String, section : String)
raise_parse_failed_error
Instance methods inherited from module BuildableRecord
build(io : IO) : IO
build,
row_count : Int32
row_count,
valid?
valid?
Constructor Detail
def self.new(service_class_code : Batch::ServiceClassCode, company_name : String, company_identification : String, standard_entry_class : StandardEntryClass, company_entry_description : String, effective_entry_date : Time, originating_dfi_identification : String, originator_status_code : Char, company_discretionary_data : String | Nil = nil, company_descriptive_date : Time | Nil = nil, settlement_date : Int32 | Nil = nil, batch_number : Int32 = 1)
#
Class Method Detail
Instance Method Detail
def build(io : IO) : IO
#
Description copied from module BuildableRecord
Convert the record in to the record line