Class: OFX::Balance
- Inherits:
-
OFX::Base::Entity
- Object
- OFX::Base::Entity
- OFX::Balance
- Defined in:
- lib/ofx_kit/balance.rb
Overview
Instance Attribute Summary collapse
-
#amount ⇒ Object
Closing balance as a Money object (or
nil). -
#amount_cents ⇒ Object
Closing balance in the smallest currency unit, e.g.
-
#posted_at ⇒ Object
Date the balance was posted (Time or
nil).
Method Summary
Methods inherited from OFX::Base::Entity
ensure_attribute, wired_by_builder
Instance Attribute Details
#amount ⇒ Object
Closing balance as a Money object (or nil).
15 16 17 |
# File 'lib/ofx_kit/balance.rb', line 15 def amount @amount end |
#amount_cents ⇒ Object
Closing balance in the smallest currency unit, e.g. cents (Integer or nil).
17 18 19 |
# File 'lib/ofx_kit/balance.rb', line 17 def amount_cents @amount_cents end |
#posted_at ⇒ Object
Date the balance was posted (Time or nil).
19 20 21 |
# File 'lib/ofx_kit/balance.rb', line 19 def posted_at @posted_at end |