Class: BankPayments::SwedbankExport::MoneyRecord

Inherits:
BankPayments::SpisuRecord show all
Defined in:
lib/bank_payments/swedbank_export/money_record.rb

Overview

There can be two types of monetary records in a transaction. Payments and credits sent over to the bank. This is the parent class that describes both. There is a date present which means different things depending on which implementation that is being used.

Author:

  • Michael Litton

Direct Known Subclasses

CreditMemoRecord, PaymentRecord

Method Summary

Methods inherited from BankPayments::SpisuRecord

define_field, defined_fields, definition_for, #extract_date, #extract_field_value, #extract_raw_value, inherited, #initialize, #method_missing, #serialize_value, #set_numeric_value, #set_text_value, #set_value, #to_s, #type, #type=

Constructor Details

This class inherits a constructor from BankPayments::SpisuRecord

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class BankPayments::SpisuRecord