class MT940::Transaction

Attributes

amount[RW]
bank[RW]
bank_account[RW]
contra_account[RW]
contra_account_owner[RW]
currency[RW]
date[RW]
description[RW]

Public Class Methods

new(attributes = {}) click to toggle source
# File lib/mt940/transaction.rb, line 7
def initialize(attributes = {})
  @bank_account        = attributes[:bank_account]
  @bank                = attributes[:bank]
  @amount              = attributes[:amount]
  @description         = attributes[:description]
  @date                = attributes[:date]
  @contra_account      = attributes[:contra_account]
  @contra_account_name = attributes[:contra_account_owner]
  @currency            = attributes[:currency]
end