Sha256: 886ad846cce479d6c029f1c9ca22ea447af6b3840cc4956ed4b6c65eebe6ca7e

Contents?: true

Size: 812 Bytes

Versions: 4

Compression:

Stored size: 812 Bytes

Contents

require_relative "../base.rb"
module Figo
  # Object representing the balance of a certain bank account of the User
  class AccountBalance < Base
    @dump_attributes = [:credit_line, :monthly_spending_limit]

    def initialize(session, json)
      super(session, json)
    end

    # Account balance or `nil` if the balance is not yet known
    # @return [DecNum]
    attr_accessor :balance

    # Bank server timestamp of balance or `nil` if the balance is not yet known
    # @return [Date]
    attr_accessor :balance_date

    # Credit line.
    # @return [DecNum]
    attr_accessor :credit_line

    # User-defined spending limit
    # @return [DecNum]
    attr_accessor :monthly_spending_limit

    # Synchronization status object
    # @return [SynchronizationStatus]
    attr_accessor :status
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
figo-1.4.2 lib/account_balance/model.rb
figo-1.4.1 lib/account_balance/model.rb
figo-1.4.0 lib/account_balance/model.rb
figo-1.3.3 lib/account_balance/model.rb