class

Nacha::BatchControl

Inherits ParsableRecord < BuildableRecord < Reference < Object

This record appears at the end of each batch and contains totals for the batch. The data in this should be calculated in the Batch

Constants

RESERVED_SPACE = " " * 6
TYPE_CODE = 8

Constructors

new(service_class_code : Batch::ServiceClassCode, entry_addenda_count : Int32, entry_hash : String, total_debit_amount : Int64, total_credit_amount : Int64, company_identification : String, originating_dfi_identification : String, batch_number : Int32, message_authorization_code : Int32 | Nil = nil)
Source
parse(input : String) : self
Source

Class methods

raise_parse_error(name : String, value : String)
Source

Instance methods

batch_number
Source
build(io : IO) : IO

Convert the record in to the record line

Source
company_identification
Source
entry_addenda_count
Source
entry_hash
Source
errors
errors=(errors : Hash(String, Array(String)))
message_authorization_code
Source
originating_dfi_identification
Source
service_class_code
Source
total_credit_amount
Source
total_debit_amount
Source