class

Nacha::FileControl

Inherits ParsableRecord < BuildableRecord < Reference < Object

This record provides a final check on the data submitted. It contains block and batch count(s) and totals for each type of entry

Constants

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)
Source
parse(input : String) : self
Source

Class methods

raise_parse_error(name : String, value : String)
Source

Instance methods

batch_count
Source
block_count
Source
build(io : IO) : IO

Convert the record in to the record line

Source
entry_count
Source
entry_hash
Source
errors
errors=(errors : Hash(String, Array(String)))
total_credit_amount
Source
total_debit_amount
Source