class Nacha::EntryDetail

Overview

This record contains the information necessary to post a deposit to/withdrawal from an account, such as recipient’s name, account number, dollar amount of the payment.

Included Modules

Defined in:

nacha/entry_detail.cr

Constant Summary

TYPE_CODE = 6

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(transaction_code : TransactionCode, dfi_routing_number : String, dfi_account_number : String, amount : Int32, individual_identification_number : String, individual_name : String, trace_number : String, discretionary_data : String | Nil = nil, addenda_included : Bool = false) #

[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 addenda_included? : Bool #

[View source]
def amount : Int32 #

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

Convert the record in to the record line


[View source]
def check_digit : String #

Last digit of the routing number


[View source]
def credit? : Bool #

[View source]
def debit? : Bool #

[View source]
def dfi_account_number : String #

[View source]
def dfi_routing_number : String #

[View source]
def discretionary_data : String | Nil #

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

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

def formatted_trace_number : String #

[View source]
def individual_identification_number : String #

[View source]
def individual_name : String #

[View source]
def receiving_dfi_identification : String #

First 8 of the routing number


[View source]
def trace_number : String #

[View source]
def transaction_code : TransactionCode #

[View source]