class Nacha::FileControl
- Nacha::FileControl
- Reference
- Object
Overview
This record provides a final check on the data submitted. It contains block and batch count(s) and totals for each type of entry
Included Modules
Defined in:
nacha/file_control.crConstant Summary
-
RESERVED_SPACE =
" " * 39
-
TYPE_CODE =
9
Constructors
- .new(batch_count : Int32, block_count : Int32, entry_count : Int32, entry_hash : Int64, total_debit_amount : Int64, total_credit_amount : Int64)
- .parse(input : String) : self
Class Method Summary
Instance Method Summary
- #batch_count : Int32
- #block_count : Int32
-
#build(io : IO) : IO
Convert the record in to the record line
- #entry_count : Int32
- #entry_hash : Int64
- #errors : Hash(String, Array(String))
- #errors=(errors : Hash(String, Array(String)))
- #total_credit_amount : Int64
- #total_debit_amount : Int64
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(batch_count : Int32, block_count : Int32, entry_count : Int32, entry_hash : Int64, total_debit_amount : Int64, total_credit_amount : Int64)
#
Class Method Detail
Instance Method Detail
def build(io : IO) : IO
#
Description copied from module BuildableRecord
Convert the record in to the record line