Class: MT940::Balance

Inherits:
Struct
  • Object
show all
Defined in:
lib/mt940/bank_statement.rb

Overview

A Balance describes the amount of money you have on your bank account at a certain moment in time.

Instance Attribute Summary collapse

Instance Attribute Details

#amountObject

Returns the value of attribute amount

Returns:

  • (Object)

    the current value of amount



12
13
14
# File 'lib/mt940/bank_statement.rb', line 12

def amount
  @amount
end

#currencyObject

Returns the value of attribute currency

Returns:

  • (Object)

    the current value of currency



12
13
14
# File 'lib/mt940/bank_statement.rb', line 12

def currency
  @currency
end

#dateObject

Returns the value of attribute date

Returns:

  • (Object)

    the current value of date



12
13
14
# File 'lib/mt940/bank_statement.rb', line 12

def date
  @date
end