Class: BankPayments::SwedbankExport::BankRecord

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

Overview

Describes the beneficiaries / payees bank. All fields are required except for the name which is only required is the payment is made outside of EU. This is something that any implementors needs to validate on their own.

Author:

  • Michael Litton

Instance Method Summary collapse

Methods inherited from BankPayments::SpisuRecord

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

Constructor Details

#initializeBankRecord

Returns a new instance of BankRecord.



22
23
24
25
# File 'lib/bank_payments/swedbank_export/bank_record.rb', line 22

def initialize
  super
  self.type = '4'
end

Dynamic Method Handling

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