Class: Nacha::Record::IatForeignCoorespondentBankInformationAddenda
- Includes:
- AddendaRecordType
- Defined in:
- lib/nacha/record/iat_foreign_coorespondent_bank_information_addenda.rb
Overview
Represents an IAT Foreign Correspondent Bank Information addenda record.
Instance Attribute Summary collapse
-
#addenda_sequence_number ⇒ Nacha::Numeric
The sequence number for this addenda record within the entry.
-
#addenda_type_code ⇒ String
Specifies this is a foreign correspondent bank information addenda record with code ‘18’.
-
#entry_detail_sequence_number ⇒ Nacha::Numeric
The sequence number of the IAT Entry Detail record this addenda is associated with.
-
#foreign_correspondent_bank_branch_country_code ⇒ String
The ISO country code of the foreign correspondent bank’s branch.
-
#foreign_correspondent_bank_identification_number ⇒ String
The identification number of the foreign correspondent bank.
-
#foreign_correspondent_bank_identification_number_qualifier ⇒ String
A code qualifying the identification number of the foreign correspondent bank.
-
#foreign_correspondent_bank_name ⇒ String
The name of the foreign correspondent bank.
-
#record_type_code ⇒ String
Identifies the record as an Addenda record with a constant value of ‘7’.
-
#reserved ⇒ String
A reserved field for future use.
Attributes inherited from Base
#children, #fields, #line_number, #name, #original_input_line, #parent, #validations
Method Summary
Methods included from AddendaRecordType
#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_sequence_number ⇒ Nacha::Numeric
Returns The sequence number for this addenda record within the entry.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/nacha/record/iat_foreign_coorespondent_bank_information_addenda.rb', line 28 class IatForeignCoorespondentBankInformationAddenda < Nacha::Record::Base include AddendaRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C7', position: 1..1 nacha_field :addenda_type_code, inclusion: 'M', contents: 'C18', position: 2..3 nacha_field :foreign_correspondent_bank_name, inclusion: 'M', contents: 'Alphameric', position: 4..38 nacha_field :foreign_correspondent_bank_identification_number_qualifier, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :foreign_correspondent_bank_identification_number, inclusion: 'M', contents: 'Alphameric', position: 41..74 nacha_field :foreign_correspondent_bank_branch_country_code, inclusion: 'M', contents: 'Alphameric', position: 75..77 nacha_field :reserved, inclusion: 'M', contents: 'C ', position: 78..83 nacha_field :addenda_sequence_number, inclusion: 'M', contents: 'Numeric', position: 84..87 nacha_field :entry_detail_sequence_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#addenda_type_code ⇒ String
Returns Specifies this is a foreign correspondent bank information addenda record with code ‘18’.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/nacha/record/iat_foreign_coorespondent_bank_information_addenda.rb', line 28 class IatForeignCoorespondentBankInformationAddenda < Nacha::Record::Base include AddendaRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C7', position: 1..1 nacha_field :addenda_type_code, inclusion: 'M', contents: 'C18', position: 2..3 nacha_field :foreign_correspondent_bank_name, inclusion: 'M', contents: 'Alphameric', position: 4..38 nacha_field :foreign_correspondent_bank_identification_number_qualifier, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :foreign_correspondent_bank_identification_number, inclusion: 'M', contents: 'Alphameric', position: 41..74 nacha_field :foreign_correspondent_bank_branch_country_code, inclusion: 'M', contents: 'Alphameric', position: 75..77 nacha_field :reserved, inclusion: 'M', contents: 'C ', position: 78..83 nacha_field :addenda_sequence_number, inclusion: 'M', contents: 'Numeric', position: 84..87 nacha_field :entry_detail_sequence_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#entry_detail_sequence_number ⇒ Nacha::Numeric
Returns The sequence number of the IAT Entry Detail record this addenda is associated with.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/nacha/record/iat_foreign_coorespondent_bank_information_addenda.rb', line 28 class IatForeignCoorespondentBankInformationAddenda < Nacha::Record::Base include AddendaRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C7', position: 1..1 nacha_field :addenda_type_code, inclusion: 'M', contents: 'C18', position: 2..3 nacha_field :foreign_correspondent_bank_name, inclusion: 'M', contents: 'Alphameric', position: 4..38 nacha_field :foreign_correspondent_bank_identification_number_qualifier, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :foreign_correspondent_bank_identification_number, inclusion: 'M', contents: 'Alphameric', position: 41..74 nacha_field :foreign_correspondent_bank_branch_country_code, inclusion: 'M', contents: 'Alphameric', position: 75..77 nacha_field :reserved, inclusion: 'M', contents: 'C ', position: 78..83 nacha_field :addenda_sequence_number, inclusion: 'M', contents: 'Numeric', position: 84..87 nacha_field :entry_detail_sequence_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#foreign_correspondent_bank_branch_country_code ⇒ String
Returns The ISO country code of the foreign correspondent bank’s branch.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/nacha/record/iat_foreign_coorespondent_bank_information_addenda.rb', line 28 class IatForeignCoorespondentBankInformationAddenda < Nacha::Record::Base include AddendaRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C7', position: 1..1 nacha_field :addenda_type_code, inclusion: 'M', contents: 'C18', position: 2..3 nacha_field :foreign_correspondent_bank_name, inclusion: 'M', contents: 'Alphameric', position: 4..38 nacha_field :foreign_correspondent_bank_identification_number_qualifier, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :foreign_correspondent_bank_identification_number, inclusion: 'M', contents: 'Alphameric', position: 41..74 nacha_field :foreign_correspondent_bank_branch_country_code, inclusion: 'M', contents: 'Alphameric', position: 75..77 nacha_field :reserved, inclusion: 'M', contents: 'C ', position: 78..83 nacha_field :addenda_sequence_number, inclusion: 'M', contents: 'Numeric', position: 84..87 nacha_field :entry_detail_sequence_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#foreign_correspondent_bank_identification_number ⇒ String
Returns The identification number of the foreign correspondent bank.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/nacha/record/iat_foreign_coorespondent_bank_information_addenda.rb', line 28 class IatForeignCoorespondentBankInformationAddenda < Nacha::Record::Base include AddendaRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C7', position: 1..1 nacha_field :addenda_type_code, inclusion: 'M', contents: 'C18', position: 2..3 nacha_field :foreign_correspondent_bank_name, inclusion: 'M', contents: 'Alphameric', position: 4..38 nacha_field :foreign_correspondent_bank_identification_number_qualifier, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :foreign_correspondent_bank_identification_number, inclusion: 'M', contents: 'Alphameric', position: 41..74 nacha_field :foreign_correspondent_bank_branch_country_code, inclusion: 'M', contents: 'Alphameric', position: 75..77 nacha_field :reserved, inclusion: 'M', contents: 'C ', position: 78..83 nacha_field :addenda_sequence_number, inclusion: 'M', contents: 'Numeric', position: 84..87 nacha_field :entry_detail_sequence_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#foreign_correspondent_bank_identification_number_qualifier ⇒ String
Returns A code qualifying the identification number of the foreign correspondent bank.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/nacha/record/iat_foreign_coorespondent_bank_information_addenda.rb', line 28 class IatForeignCoorespondentBankInformationAddenda < Nacha::Record::Base include AddendaRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C7', position: 1..1 nacha_field :addenda_type_code, inclusion: 'M', contents: 'C18', position: 2..3 nacha_field :foreign_correspondent_bank_name, inclusion: 'M', contents: 'Alphameric', position: 4..38 nacha_field :foreign_correspondent_bank_identification_number_qualifier, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :foreign_correspondent_bank_identification_number, inclusion: 'M', contents: 'Alphameric', position: 41..74 nacha_field :foreign_correspondent_bank_branch_country_code, inclusion: 'M', contents: 'Alphameric', position: 75..77 nacha_field :reserved, inclusion: 'M', contents: 'C ', position: 78..83 nacha_field :addenda_sequence_number, inclusion: 'M', contents: 'Numeric', position: 84..87 nacha_field :entry_detail_sequence_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#foreign_correspondent_bank_name ⇒ String
Returns The name of the foreign correspondent bank.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/nacha/record/iat_foreign_coorespondent_bank_information_addenda.rb', line 28 class IatForeignCoorespondentBankInformationAddenda < Nacha::Record::Base include AddendaRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C7', position: 1..1 nacha_field :addenda_type_code, inclusion: 'M', contents: 'C18', position: 2..3 nacha_field :foreign_correspondent_bank_name, inclusion: 'M', contents: 'Alphameric', position: 4..38 nacha_field :foreign_correspondent_bank_identification_number_qualifier, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :foreign_correspondent_bank_identification_number, inclusion: 'M', contents: 'Alphameric', position: 41..74 nacha_field :foreign_correspondent_bank_branch_country_code, inclusion: 'M', contents: 'Alphameric', position: 75..77 nacha_field :reserved, inclusion: 'M', contents: 'C ', position: 78..83 nacha_field :addenda_sequence_number, inclusion: 'M', contents: 'Numeric', position: 84..87 nacha_field :entry_detail_sequence_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#record_type_code ⇒ String
Returns Identifies the record as an Addenda record with a constant value of ‘7’.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/nacha/record/iat_foreign_coorespondent_bank_information_addenda.rb', line 28 class IatForeignCoorespondentBankInformationAddenda < Nacha::Record::Base include AddendaRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C7', position: 1..1 nacha_field :addenda_type_code, inclusion: 'M', contents: 'C18', position: 2..3 nacha_field :foreign_correspondent_bank_name, inclusion: 'M', contents: 'Alphameric', position: 4..38 nacha_field :foreign_correspondent_bank_identification_number_qualifier, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :foreign_correspondent_bank_identification_number, inclusion: 'M', contents: 'Alphameric', position: 41..74 nacha_field :foreign_correspondent_bank_branch_country_code, inclusion: 'M', contents: 'Alphameric', position: 75..77 nacha_field :reserved, inclusion: 'M', contents: 'C ', position: 78..83 nacha_field :addenda_sequence_number, inclusion: 'M', contents: 'Numeric', position: 84..87 nacha_field :entry_detail_sequence_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#reserved ⇒ String
Returns A reserved field for future use.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/nacha/record/iat_foreign_coorespondent_bank_information_addenda.rb', line 28 class IatForeignCoorespondentBankInformationAddenda < Nacha::Record::Base include AddendaRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C7', position: 1..1 nacha_field :addenda_type_code, inclusion: 'M', contents: 'C18', position: 2..3 nacha_field :foreign_correspondent_bank_name, inclusion: 'M', contents: 'Alphameric', position: 4..38 nacha_field :foreign_correspondent_bank_identification_number_qualifier, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :foreign_correspondent_bank_identification_number, inclusion: 'M', contents: 'Alphameric', position: 41..74 nacha_field :foreign_correspondent_bank_branch_country_code, inclusion: 'M', contents: 'Alphameric', position: 75..77 nacha_field :reserved, inclusion: 'M', contents: 'C ', position: 78..83 nacha_field :addenda_sequence_number, inclusion: 'M', contents: 'Numeric', position: 84..87 nacha_field :entry_detail_sequence_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |