class Nacha::FileHeader
- Nacha::FileHeader
- Reference
- Object
Overview
This record includes your company name and company number. It also designates the immediate destination (LaSalle Bank N.A. or Standard Federal Bank) of the entries contained within the file.
Included Modules
Defined in:
nacha/file_header.crConstant Summary
-
PRIORITY_CODE =
1
-
TYPE_CODE =
1
Constructors
- .new(immediate_destination : String, immediate_origin : String, immediate_destination_name : String, immediate_origin_name : String, file_creation_date : Time = Time.utc, file_creation_time : Time = Time.utc, file_id_modifier : Char = 'A', reference_code : String | Nil = nil)
- .parse(input : String) : self
Class Method Summary
Instance Method Summary
-
#build(io : IO) : IO
Convert the record in to the record line
- #errors : Hash(String, Array(String))
- #errors=(errors : Hash(String, Array(String)))
- #file_creation_date : Time
- #file_creation_time : Time
- #file_id_modifier : Char
- #immediate_destination : String
- #immediate_destination_name : String
- #immediate_origin : String
- #immediate_origin_name : String
- #reference_code : String | Nil
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(immediate_destination : String, immediate_origin : String, immediate_destination_name : String, immediate_origin_name : String, file_creation_date : Time = Time.utc, file_creation_time : Time = Time.utc, file_id_modifier : Char = 'A', reference_code : String | Nil = nil)
#
Class Method Detail
Instance Method Detail
def build(io : IO) : IO
#
Description copied from module BuildableRecord
Convert the record in to the record line