class Nacha::BatchControl
- Nacha::BatchControl
- Reference
- Object
Overview
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
Included Modules
Defined in:
nacha/batch_control.crConstant Summary
-
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)
- .parse(input : String) : self
Class Method Summary
Instance Method Summary
- #batch_number : Int32
-
#build(io : IO) : IO
Convert the record in to the record line
- #company_identification : String
- #entry_addenda_count : Int32
- #entry_hash : String
- #errors : Hash(String, Array(String))
- #errors=(errors : Hash(String, Array(String)))
- #message_authorization_code : Int32 | Nil
- #originating_dfi_identification : String
- #service_class_code : Batch::ServiceClassCode
- #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(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)
#
Class Method Detail
Instance Method Detail
def build(io : IO) : IO
#
Description copied from module BuildableRecord
Convert the record in to the record line