class Nacha::FileControl

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.cr

Constant Summary

RESERVED_SPACE = " " * 39
TYPE_CODE = 9

Constructors

Class Method Summary

Instance Method Summary

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) #

[View source]
def self.parse(input : String) : self #

[View source]

Class Method Detail

def self.raise_parse_error(name : String, value : String) #

[View source]

Instance Method Detail

def batch_count : Int32 #

[View source]
def block_count : Int32 #

[View source]
def build(io : IO) : IO #
Description copied from module BuildableRecord

Convert the record in to the record line


[View source]
def entry_count : Int32 #

[View source]
def entry_hash : Int64 #

[View source]
def errors : Hash(String, Array(String)) #

def errors=(errors : Hash(String, Array(String))) #

def total_credit_amount : Int64 #

[View source]
def total_debit_amount : Int64 #

[View source]