Class: ACH::Records::Addendum::NotificationOfChange

Inherits:
ACH::Records::Addendum show all
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

#case_sensitive

Instance Method Summary collapse

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_dataObject



28
29
30
# File 'lib/ach/records/addendum.rb', line 28

def corrected_data
  payment_data[32..60].strip
end

#original_entry_trace_numberObject



20
21
22
# File 'lib/ach/records/addendum.rb', line 20

def original_entry_trace_number
  payment_data[3..17]
end

#original_receiving_dfi_identificationObject



24
25
26
# File 'lib/ach/records/addendum.rb', line 24

def original_receiving_dfi_identification
  payment_data[24..31]
end

#reason_codeObject



16
17
18
# File 'lib/ach/records/addendum.rb', line 16

def reason_code
  payment_data[0..2]
end