Class: AccountBalance

Inherits:
Object
  • Object
show all
Defined in:
lib/default.rb

Overview

/AccountBalance

totalBalance - Amount
pendingInBalance - Amount
pendingOutBalance - Amount
availableBalances - AvailableBalances

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalBalance = nil, pendingInBalance = nil, pendingOutBalance = nil, availableBalances = nil) ⇒ AccountBalance

Returns a new instance of AccountBalance.



147
148
149
150
151
152
# File 'lib/default.rb', line 147

def initialize(totalBalance = nil, pendingInBalance = nil, pendingOutBalance = nil, availableBalances = nil)
  @totalBalance = totalBalance
  @pendingInBalance = pendingInBalance
  @pendingOutBalance = pendingOutBalance
  @availableBalances = availableBalances
end

Instance Attribute Details

#availableBalancesObject

Returns the value of attribute availableBalances.



145
146
147
# File 'lib/default.rb', line 145

def availableBalances
  @availableBalances
end

#pendingInBalanceObject

Returns the value of attribute pendingInBalance.



143
144
145
# File 'lib/default.rb', line 143

def pendingInBalance
  @pendingInBalance
end

#pendingOutBalanceObject

Returns the value of attribute pendingOutBalance.



144
145
146
# File 'lib/default.rb', line 144

def pendingOutBalance
  @pendingOutBalance
end

#totalBalanceObject

Returns the value of attribute totalBalance.



142
143
144
# File 'lib/default.rb', line 142

def totalBalance
  @totalBalance
end