Class: Increase::Models::IntrafiBalance

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

Defined Under Namespace

Classes: Balance

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

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

Instance Attribute Details

#balancesArray<Increase::Models::IntrafiBalance::Balance>

Each entry represents a balance held at a different bank. IntraFi separates the total balance across many participating banks in the network.



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

required :balances, Increase::ArrayOf.new(-> { Increase::Models::IntrafiBalance::Balance })

#currencySymbol

The ISO 4217 code for the account currency.

Returns:

  • (Symbol)


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

required :currency, Increase::Enum.new(:CAD, :CHF, :EUR, :GBP, :JPY, :USD)

#effective_dateString

The date this balance reflects.

Returns:

  • (String)


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

required :effective_date, String

#idString

The identifier of this balance.

Returns:

  • (String)


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

required :id, String

#total_balanceInteger

The total balance, in minor units of currency. Increase reports this balance to IntraFi daily.

Returns:

  • (Integer)


29
# File 'lib/increase/models/intrafi_balance.rb', line 29

required :total_balance, Integer

#typeSymbol

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

Returns:

  • (Symbol)


34
# File 'lib/increase/models/intrafi_balance.rb', line 34

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