class Nacha::BatchHeader

Overview

This record indicates the effective entry date (the date you request the deposits/debits to be settled). In addition, this record identifies your company and provides an entry description for the credit and debits in this batch.

Included Modules

Defined in:

nacha/batch_header.cr

Constant Summary

TYPE_CODE = 5

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(service_class_code : Batch::ServiceClassCode, company_name : String, company_identification : String, standard_entry_class : StandardEntryClass, company_entry_description : String, effective_entry_date : Time, originating_dfi_identification : String, originator_status_code : Char, company_discretionary_data : String | Nil = nil, company_descriptive_date : Time | Nil = nil, settlement_date : Int32 | Nil = nil, batch_number : Int32 = 1) #

[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_number : Int32 #

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

Convert the record in to the record line


[View source]
def company_descriptive_date : Time | Nil #

[View source]
def company_discretionary_data : String | Nil #

[View source]
def company_entry_description : String #

[View source]
def company_identification : String #

[View source]
def company_name : String #

[View source]
def effective_entry_date : Time #

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

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

def originating_dfi_identification : String #

[View source]
def originator_status_code : Char #

[View source]
def service_class_code : Batch::ServiceClassCode #

[View source]
def settlement_date : Int32 | Nil #

[View source]
def standard_entry_class : StandardEntryClass #

[View source]