Module: ACH::Constants

Included in:
Component, File::Reader, Record::Base
Defined in:
lib/ach/constants.rb

Overview

This module is a simple namespace for constants used in ACH routines.

Constant Summary collapse

RECORD_SIZE =

The length of each record in characters.

94
BLOCKING_FACTOR =

The file’s total record count must be a multiple of this number. The file must be padded with blocking file control records (consisting entirely of 9s) to satisfy this condition.

10
FORMAT_CODE =

Always “1”.

1
ROWS_DELIMITER =

This character must be used to delimit each row.

"\n"
FILE_HEADER_RECORD_TYPE =

ACH defined value of File Header record.

1
FILE_CONTROL_RECORD_TYPE =

ACH defined value of File Control record.

9
BATCH_HEADER_RECORD_TYPE =

ACH defined value of Batch Header record.

5
BATCH_ENTRY_RECORD_TYPE =

ACH defined value of Batch Entry record.

6
BATCH_ADDENDA_RECORD_TYPE =

ACH defined value of Batch Addenda record.

7
BATCH_CONTROL_RECORD_TYPE =

ACH defined value of Batch Control record.

8