Class: ACH::Records::Addendum::NotificationOfChange
- Inherits:
-
ACH::Records::Addendum
- Object
- Record
- ACH::Records::Addendum
- ACH::Records::Addendum::NotificationOfChange
- Defined in:
- lib/ach/records/addendum.rb
Overview
NOTE: When the API can change, these subclasses should override the
redundant fields in Addendum
Constant Summary
Constants included from FieldIdentifiers
FieldIdentifiers::ENCODING_OPTIONS
Instance Attribute Summary
Attributes inherited from Record
Instance Method Summary collapse
- #corrected_data ⇒ Object
- #original_entry_trace_number ⇒ Object
- #original_receiving_dfi_identification ⇒ Object
- #reason_code ⇒ Object
Methods inherited from Record
fields, #records_count, #to_ach
Methods included from FieldIdentifiers
#const_field, #field, #left_justify, #spaceless_routing_field
Instance Method Details
#corrected_data ⇒ Object
28 29 30 |
# File 'lib/ach/records/addendum.rb', line 28 def corrected_data payment_data[32..60].strip end |
#original_entry_trace_number ⇒ Object
20 21 22 |
# File 'lib/ach/records/addendum.rb', line 20 def original_entry_trace_number payment_data[3..17] end |
#original_receiving_dfi_identification ⇒ Object
24 25 26 |
# File 'lib/ach/records/addendum.rb', line 24 def original_receiving_dfi_identification payment_data[24..31] end |
#reason_code ⇒ Object
16 17 18 |
# File 'lib/ach/records/addendum.rb', line 16 def reason_code payment_data[0..2] end |