Class: Figo::AccountBalance
Overview
Object representing the balance of a certain bank account of the User
Instance Attribute Summary collapse
-
#balance ⇒ DecNum
Account balance or ‘nil` if the balance is not yet known.
-
#balance_date ⇒ Date
Bank server timestamp of balance or ‘nil` if the balance is not yet known.
-
#credit_line ⇒ DecNum
Credit line.
-
#monthly_spending_limit ⇒ DecNum
User-defined spending limit.
-
#status ⇒ SynchronizationStatus
Synchronization status object.
Instance Method Summary collapse
-
#initialize(session, json) ⇒ AccountBalance
constructor
A new instance of AccountBalance.
Methods inherited from Base
Constructor Details
#initialize(session, json) ⇒ AccountBalance
Returns a new instance of AccountBalance.
7 8 9 |
# File 'lib/account_balance/model.rb', line 7 def initialize(session, json) super(session, json) end |
Instance Attribute Details
#balance ⇒ DecNum
Account balance or ‘nil` if the balance is not yet known
13 14 15 |
# File 'lib/account_balance/model.rb', line 13 def balance @balance end |
#balance_date ⇒ Date
Bank server timestamp of balance or ‘nil` if the balance is not yet known
17 18 19 |
# File 'lib/account_balance/model.rb', line 17 def balance_date @balance_date end |
#credit_line ⇒ DecNum
Credit line.
21 22 23 |
# File 'lib/account_balance/model.rb', line 21 def credit_line @credit_line end |
#monthly_spending_limit ⇒ DecNum
User-defined spending limit
25 26 27 |
# File 'lib/account_balance/model.rb', line 25 def monthly_spending_limit @monthly_spending_limit end |
#status ⇒ SynchronizationStatus
Synchronization status object
29 30 31 |
# File 'lib/account_balance/model.rb', line 29 def status @status end |