Class: BankPayments::SwedbankExport::AddressRecord

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

Overview

Used to describe the destination of the transaction being done as well as some basic transactional information such as

  • Which party/parties should be responsible for the transactional costs

  • What kind of Swedbank account that should be used for the transaction

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

#initializeAddressRecord

Returns a new instance of AddressRecord.



33
34
35
36
# File 'lib/bank_payments/swedbank_export/address_record.rb', line 33

def initialize
  super
  self.type = '3'
end

Dynamic Method Handling

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