Class: Nacha::Record::IatEntryDetail
- Includes:
- DetailRecordType
- Defined in:
- lib/nacha/record/iat_entry_detail.rb
Overview
Represents an IAT entry detail record
Instance Attribute Summary collapse
-
#addenda_record_indicator ⇒ Nacha::Numeric
Indicates that one or more addenda records are present.
-
#amount ⇒ Nacha::Numeric
The amount of the transaction in U.S.
-
#dfi_account_number ⇒ Nacha::Numeric
The account number of the receiver at the foreign financial institution.
-
#gateway_operator_ofac_screening_indicator ⇒ String
Indicates whether the Gateway Operator has screened the entry against the OFAC list.
-
#number_of_addenda_records ⇒ String
The number of addenda records that follow this entry detail record.
-
#receiving_dfi_identification ⇒ Nacha::AbaNumber
The routing number of the U.S.
-
#record_type_code ⇒ String
Identifies the record as an IAT Entry Detail record with a constant value of ‘6’.
-
#reserved1 ⇒ String
A reserved field for future use.
-
#reserved2 ⇒ String
A reserved field for future use.
-
#secondary_ofac_screening_indicator ⇒ String
Indicates whether a secondary screening has been performed.
-
#trace_number ⇒ Nacha::Numeric
A unique number assigned by the ODFI to trace the entry.
-
#transaction_code ⇒ Nacha::Numeric
Specifies the type of account and transaction (e.g., debit to a checking account).
Attributes inherited from Base
#children, #fields, #line_number, #name, #original_input_line, #parent, #validations
Method Summary
Methods included from DetailRecordType
#child_record_types, included, #next_record_types
Methods inherited from Base
#add_error, #create_fields_from_definition, #credit?, #debit?, definition, #definition, #errors, #human_name, #initialize, #inspect, matcher, #method_missing, nacha_field, parse, #record_type, record_type, #respond_to_missing?, #to_ach, #to_h, to_h, #to_html, to_json, #to_json, unpack_str, #valid?, #validate, validations
Methods included from Validations::FieldValidations
Constructor Details
This class inherits a constructor from Nacha::Record::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Nacha::Record::Base
Instance Attribute Details
#addenda_record_indicator ⇒ Nacha::Numeric
Returns Indicates that one or more addenda records are present.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/nacha/record/iat_entry_detail.rb', line 34 class IatEntryDetail < Nacha::Record::Base include DetailRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C6', position: 1..1 nacha_field :transaction_code, inclusion: 'M', contents: 'Numeric', position: 2..3 nacha_field :receiving_dfi_identification, inclusion: 'M', contents: 'TTTTAAAAC', position: 4..12 nacha_field :number_of_addenda_records, inclusion: 'M', contents: 'Alphameric', position: 13..16 nacha_field :reserved1, inclusion: 'O', contents: 'C ', position: 17..29 nacha_field :amount, inclusion: 'M', contents: '$$$$$$$$¢¢', position: 30..39 nacha_field :dfi_account_number, inclusion: 'M', contents: 'Numeric', position: 40..74 nacha_field :reserved2, inclusion: 'O', contents: 'C ', position: 75..76 nacha_field :gateway_operator_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 77..77 nacha_field :secondary_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 78..78 nacha_field :addenda_record_indicator, inclusion: 'M', contents: 'Numeric', position: 79..79 nacha_field :trace_number, inclusion: 'M', contents: 'Numeric', position: 80..94 end |
#amount ⇒ Nacha::Numeric
Returns The amount of the transaction in U.S. dollars.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/nacha/record/iat_entry_detail.rb', line 34 class IatEntryDetail < Nacha::Record::Base include DetailRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C6', position: 1..1 nacha_field :transaction_code, inclusion: 'M', contents: 'Numeric', position: 2..3 nacha_field :receiving_dfi_identification, inclusion: 'M', contents: 'TTTTAAAAC', position: 4..12 nacha_field :number_of_addenda_records, inclusion: 'M', contents: 'Alphameric', position: 13..16 nacha_field :reserved1, inclusion: 'O', contents: 'C ', position: 17..29 nacha_field :amount, inclusion: 'M', contents: '$$$$$$$$¢¢', position: 30..39 nacha_field :dfi_account_number, inclusion: 'M', contents: 'Numeric', position: 40..74 nacha_field :reserved2, inclusion: 'O', contents: 'C ', position: 75..76 nacha_field :gateway_operator_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 77..77 nacha_field :secondary_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 78..78 nacha_field :addenda_record_indicator, inclusion: 'M', contents: 'Numeric', position: 79..79 nacha_field :trace_number, inclusion: 'M', contents: 'Numeric', position: 80..94 end |
#dfi_account_number ⇒ Nacha::Numeric
Returns The account number of the receiver at the foreign financial institution.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/nacha/record/iat_entry_detail.rb', line 34 class IatEntryDetail < Nacha::Record::Base include DetailRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C6', position: 1..1 nacha_field :transaction_code, inclusion: 'M', contents: 'Numeric', position: 2..3 nacha_field :receiving_dfi_identification, inclusion: 'M', contents: 'TTTTAAAAC', position: 4..12 nacha_field :number_of_addenda_records, inclusion: 'M', contents: 'Alphameric', position: 13..16 nacha_field :reserved1, inclusion: 'O', contents: 'C ', position: 17..29 nacha_field :amount, inclusion: 'M', contents: '$$$$$$$$¢¢', position: 30..39 nacha_field :dfi_account_number, inclusion: 'M', contents: 'Numeric', position: 40..74 nacha_field :reserved2, inclusion: 'O', contents: 'C ', position: 75..76 nacha_field :gateway_operator_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 77..77 nacha_field :secondary_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 78..78 nacha_field :addenda_record_indicator, inclusion: 'M', contents: 'Numeric', position: 79..79 nacha_field :trace_number, inclusion: 'M', contents: 'Numeric', position: 80..94 end |
#gateway_operator_ofac_screening_indicator ⇒ String
Returns Indicates whether the Gateway Operator has screened the entry against the OFAC list.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/nacha/record/iat_entry_detail.rb', line 34 class IatEntryDetail < Nacha::Record::Base include DetailRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C6', position: 1..1 nacha_field :transaction_code, inclusion: 'M', contents: 'Numeric', position: 2..3 nacha_field :receiving_dfi_identification, inclusion: 'M', contents: 'TTTTAAAAC', position: 4..12 nacha_field :number_of_addenda_records, inclusion: 'M', contents: 'Alphameric', position: 13..16 nacha_field :reserved1, inclusion: 'O', contents: 'C ', position: 17..29 nacha_field :amount, inclusion: 'M', contents: '$$$$$$$$¢¢', position: 30..39 nacha_field :dfi_account_number, inclusion: 'M', contents: 'Numeric', position: 40..74 nacha_field :reserved2, inclusion: 'O', contents: 'C ', position: 75..76 nacha_field :gateway_operator_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 77..77 nacha_field :secondary_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 78..78 nacha_field :addenda_record_indicator, inclusion: 'M', contents: 'Numeric', position: 79..79 nacha_field :trace_number, inclusion: 'M', contents: 'Numeric', position: 80..94 end |
#number_of_addenda_records ⇒ String
Returns The number of addenda records that follow this entry detail record.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/nacha/record/iat_entry_detail.rb', line 34 class IatEntryDetail < Nacha::Record::Base include DetailRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C6', position: 1..1 nacha_field :transaction_code, inclusion: 'M', contents: 'Numeric', position: 2..3 nacha_field :receiving_dfi_identification, inclusion: 'M', contents: 'TTTTAAAAC', position: 4..12 nacha_field :number_of_addenda_records, inclusion: 'M', contents: 'Alphameric', position: 13..16 nacha_field :reserved1, inclusion: 'O', contents: 'C ', position: 17..29 nacha_field :amount, inclusion: 'M', contents: '$$$$$$$$¢¢', position: 30..39 nacha_field :dfi_account_number, inclusion: 'M', contents: 'Numeric', position: 40..74 nacha_field :reserved2, inclusion: 'O', contents: 'C ', position: 75..76 nacha_field :gateway_operator_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 77..77 nacha_field :secondary_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 78..78 nacha_field :addenda_record_indicator, inclusion: 'M', contents: 'Numeric', position: 79..79 nacha_field :trace_number, inclusion: 'M', contents: 'Numeric', position: 80..94 end |
#receiving_dfi_identification ⇒ Nacha::AbaNumber
Returns The routing number of the U.S. financial institution that will receive the entry.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/nacha/record/iat_entry_detail.rb', line 34 class IatEntryDetail < Nacha::Record::Base include DetailRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C6', position: 1..1 nacha_field :transaction_code, inclusion: 'M', contents: 'Numeric', position: 2..3 nacha_field :receiving_dfi_identification, inclusion: 'M', contents: 'TTTTAAAAC', position: 4..12 nacha_field :number_of_addenda_records, inclusion: 'M', contents: 'Alphameric', position: 13..16 nacha_field :reserved1, inclusion: 'O', contents: 'C ', position: 17..29 nacha_field :amount, inclusion: 'M', contents: '$$$$$$$$¢¢', position: 30..39 nacha_field :dfi_account_number, inclusion: 'M', contents: 'Numeric', position: 40..74 nacha_field :reserved2, inclusion: 'O', contents: 'C ', position: 75..76 nacha_field :gateway_operator_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 77..77 nacha_field :secondary_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 78..78 nacha_field :addenda_record_indicator, inclusion: 'M', contents: 'Numeric', position: 79..79 nacha_field :trace_number, inclusion: 'M', contents: 'Numeric', position: 80..94 end |
#record_type_code ⇒ String
Returns Identifies the record as an IAT Entry Detail record with a constant value of ‘6’.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/nacha/record/iat_entry_detail.rb', line 34 class IatEntryDetail < Nacha::Record::Base include DetailRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C6', position: 1..1 nacha_field :transaction_code, inclusion: 'M', contents: 'Numeric', position: 2..3 nacha_field :receiving_dfi_identification, inclusion: 'M', contents: 'TTTTAAAAC', position: 4..12 nacha_field :number_of_addenda_records, inclusion: 'M', contents: 'Alphameric', position: 13..16 nacha_field :reserved1, inclusion: 'O', contents: 'C ', position: 17..29 nacha_field :amount, inclusion: 'M', contents: '$$$$$$$$¢¢', position: 30..39 nacha_field :dfi_account_number, inclusion: 'M', contents: 'Numeric', position: 40..74 nacha_field :reserved2, inclusion: 'O', contents: 'C ', position: 75..76 nacha_field :gateway_operator_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 77..77 nacha_field :secondary_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 78..78 nacha_field :addenda_record_indicator, inclusion: 'M', contents: 'Numeric', position: 79..79 nacha_field :trace_number, inclusion: 'M', contents: 'Numeric', position: 80..94 end |
#reserved1 ⇒ String
Returns A reserved field for future use.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/nacha/record/iat_entry_detail.rb', line 34 class IatEntryDetail < Nacha::Record::Base include DetailRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C6', position: 1..1 nacha_field :transaction_code, inclusion: 'M', contents: 'Numeric', position: 2..3 nacha_field :receiving_dfi_identification, inclusion: 'M', contents: 'TTTTAAAAC', position: 4..12 nacha_field :number_of_addenda_records, inclusion: 'M', contents: 'Alphameric', position: 13..16 nacha_field :reserved1, inclusion: 'O', contents: 'C ', position: 17..29 nacha_field :amount, inclusion: 'M', contents: '$$$$$$$$¢¢', position: 30..39 nacha_field :dfi_account_number, inclusion: 'M', contents: 'Numeric', position: 40..74 nacha_field :reserved2, inclusion: 'O', contents: 'C ', position: 75..76 nacha_field :gateway_operator_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 77..77 nacha_field :secondary_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 78..78 nacha_field :addenda_record_indicator, inclusion: 'M', contents: 'Numeric', position: 79..79 nacha_field :trace_number, inclusion: 'M', contents: 'Numeric', position: 80..94 end |
#reserved2 ⇒ String
Returns A reserved field for future use.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/nacha/record/iat_entry_detail.rb', line 34 class IatEntryDetail < Nacha::Record::Base include DetailRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C6', position: 1..1 nacha_field :transaction_code, inclusion: 'M', contents: 'Numeric', position: 2..3 nacha_field :receiving_dfi_identification, inclusion: 'M', contents: 'TTTTAAAAC', position: 4..12 nacha_field :number_of_addenda_records, inclusion: 'M', contents: 'Alphameric', position: 13..16 nacha_field :reserved1, inclusion: 'O', contents: 'C ', position: 17..29 nacha_field :amount, inclusion: 'M', contents: '$$$$$$$$¢¢', position: 30..39 nacha_field :dfi_account_number, inclusion: 'M', contents: 'Numeric', position: 40..74 nacha_field :reserved2, inclusion: 'O', contents: 'C ', position: 75..76 nacha_field :gateway_operator_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 77..77 nacha_field :secondary_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 78..78 nacha_field :addenda_record_indicator, inclusion: 'M', contents: 'Numeric', position: 79..79 nacha_field :trace_number, inclusion: 'M', contents: 'Numeric', position: 80..94 end |
#secondary_ofac_screening_indicator ⇒ String
Returns Indicates whether a secondary screening has been performed.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/nacha/record/iat_entry_detail.rb', line 34 class IatEntryDetail < Nacha::Record::Base include DetailRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C6', position: 1..1 nacha_field :transaction_code, inclusion: 'M', contents: 'Numeric', position: 2..3 nacha_field :receiving_dfi_identification, inclusion: 'M', contents: 'TTTTAAAAC', position: 4..12 nacha_field :number_of_addenda_records, inclusion: 'M', contents: 'Alphameric', position: 13..16 nacha_field :reserved1, inclusion: 'O', contents: 'C ', position: 17..29 nacha_field :amount, inclusion: 'M', contents: '$$$$$$$$¢¢', position: 30..39 nacha_field :dfi_account_number, inclusion: 'M', contents: 'Numeric', position: 40..74 nacha_field :reserved2, inclusion: 'O', contents: 'C ', position: 75..76 nacha_field :gateway_operator_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 77..77 nacha_field :secondary_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 78..78 nacha_field :addenda_record_indicator, inclusion: 'M', contents: 'Numeric', position: 79..79 nacha_field :trace_number, inclusion: 'M', contents: 'Numeric', position: 80..94 end |
#trace_number ⇒ Nacha::Numeric
Returns A unique number assigned by the ODFI to trace the entry.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/nacha/record/iat_entry_detail.rb', line 34 class IatEntryDetail < Nacha::Record::Base include DetailRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C6', position: 1..1 nacha_field :transaction_code, inclusion: 'M', contents: 'Numeric', position: 2..3 nacha_field :receiving_dfi_identification, inclusion: 'M', contents: 'TTTTAAAAC', position: 4..12 nacha_field :number_of_addenda_records, inclusion: 'M', contents: 'Alphameric', position: 13..16 nacha_field :reserved1, inclusion: 'O', contents: 'C ', position: 17..29 nacha_field :amount, inclusion: 'M', contents: '$$$$$$$$¢¢', position: 30..39 nacha_field :dfi_account_number, inclusion: 'M', contents: 'Numeric', position: 40..74 nacha_field :reserved2, inclusion: 'O', contents: 'C ', position: 75..76 nacha_field :gateway_operator_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 77..77 nacha_field :secondary_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 78..78 nacha_field :addenda_record_indicator, inclusion: 'M', contents: 'Numeric', position: 79..79 nacha_field :trace_number, inclusion: 'M', contents: 'Numeric', position: 80..94 end |
#transaction_code ⇒ Nacha::Numeric
Returns Specifies the type of account and transaction (e.g., debit to a checking account).
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/nacha/record/iat_entry_detail.rb', line 34 class IatEntryDetail < Nacha::Record::Base include DetailRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C6', position: 1..1 nacha_field :transaction_code, inclusion: 'M', contents: 'Numeric', position: 2..3 nacha_field :receiving_dfi_identification, inclusion: 'M', contents: 'TTTTAAAAC', position: 4..12 nacha_field :number_of_addenda_records, inclusion: 'M', contents: 'Alphameric', position: 13..16 nacha_field :reserved1, inclusion: 'O', contents: 'C ', position: 17..29 nacha_field :amount, inclusion: 'M', contents: '$$$$$$$$¢¢', position: 30..39 nacha_field :dfi_account_number, inclusion: 'M', contents: 'Numeric', position: 40..74 nacha_field :reserved2, inclusion: 'O', contents: 'C ', position: 75..76 nacha_field :gateway_operator_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 77..77 nacha_field :secondary_ofac_screening_indicator, inclusion: 'O', contents: 'Alphameric', position: 78..78 nacha_field :addenda_record_indicator, inclusion: 'M', contents: 'Numeric', position: 79..79 nacha_field :trace_number, inclusion: 'M', contents: 'Numeric', position: 80..94 end |