Class: Nacha::Record::WebAddenda
- Includes:
- AddendaRecordType
- Defined in:
- lib/nacha/record/web_addenda.rb
Overview
Represents an Internet-Initiated Entry (WEB) addenda record.
Instance Attribute Summary collapse
-
#addenda_sequence_number ⇒ Nacha::Numeric
The sequence number of this addenda record.
-
#addenda_type_code ⇒ String
Specifies the type of addenda, ‘05’ for WEB payment information.
-
#entry_detail_sequence_number ⇒ Nacha::Numeric
The sequence number of the associated WEB Entry Detail record.
-
#payment_related_information ⇒ String
Contains additional information about the payment, such as a reference number.
-
#record_type_code ⇒ String
Identifies the record as an Addenda record with a constant value of ‘7’.
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 of this addenda record.
20 21 22 23 24 25 26 27 28 |
# File 'lib/nacha/record/web_addenda.rb', line 20 class WebAddenda < 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: 'C05', position: 2..3 nacha_field :payment_related_information, inclusion: 'O', contents: 'Alphameric', position: 4..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 the type of addenda, ‘05’ for WEB payment information.
20 21 22 23 24 25 26 27 28 |
# File 'lib/nacha/record/web_addenda.rb', line 20 class WebAddenda < 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: 'C05', position: 2..3 nacha_field :payment_related_information, inclusion: 'O', contents: 'Alphameric', position: 4..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 associated WEB Entry Detail record.
20 21 22 23 24 25 26 27 28 |
# File 'lib/nacha/record/web_addenda.rb', line 20 class WebAddenda < 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: 'C05', position: 2..3 nacha_field :payment_related_information, inclusion: 'O', contents: 'Alphameric', position: 4..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 |
#payment_related_information ⇒ String
Returns Contains additional information about the payment, such as a reference number.
20 21 22 23 24 25 26 27 28 |
# File 'lib/nacha/record/web_addenda.rb', line 20 class WebAddenda < 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: 'C05', position: 2..3 nacha_field :payment_related_information, inclusion: 'O', contents: 'Alphameric', position: 4..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’.
20 21 22 23 24 25 26 27 28 |
# File 'lib/nacha/record/web_addenda.rb', line 20 class WebAddenda < 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: 'C05', position: 2..3 nacha_field :payment_related_information, inclusion: 'O', contents: 'Alphameric', position: 4..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 |