class Nacha::FileHeader

Overview

This record includes your company name and company number. It also designates the immediate destination (LaSalle Bank N.A. or Standard Federal Bank) of the entries contained within the file.

Included Modules

Defined in:

nacha/file_header.cr

Constant Summary

PRIORITY_CODE = 1
TYPE_CODE = 1

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(immediate_destination : String, immediate_origin : String, immediate_destination_name : String, immediate_origin_name : String, file_creation_date : Time = Time.utc, file_creation_time : Time = Time.utc, file_id_modifier : Char = 'A', reference_code : String | Nil = nil) #

[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 build(io : IO) : IO #
Description copied from module BuildableRecord

Convert the record in to the record line


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

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

def file_creation_date : Time #

[View source]
def file_creation_time : Time #

[View source]
def file_id_modifier : Char #

[View source]
def immediate_destination : String #

[View source]
def immediate_destination_name : String #

[View source]
def immediate_origin : String #

[View source]
def immediate_origin_name : String #

[View source]
def reference_code : String | Nil #

[View source]