Class: Increase::Models::BalanceLookup

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/balance_lookup.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#account_idString

The identifier for the account for which the balance was queried.

Returns:

  • (String)


9
# File 'lib/increase/models/balance_lookup.rb', line 9

required :account_id, String

#available_balanceInteger

The Account's available balance, representing the current balance less any open Pending Transactions on the Account.

Returns:

  • (Integer)


14
# File 'lib/increase/models/balance_lookup.rb', line 14

required :available_balance, Integer

#current_balanceInteger

The Account's current balance, representing the sum of all posted Transactions on the Account.

Returns:

  • (Integer)


19
# File 'lib/increase/models/balance_lookup.rb', line 19

required :current_balance, Integer

#typeSymbol

A constant representing the object's type. For this resource it will always be balance_lookup.

Returns:

  • (Symbol)


24
# File 'lib/increase/models/balance_lookup.rb', line 24

required :type, Increase::Enum.new(:balance_lookup)