Class: Bankroll::AmortizationSchedule::Payment

Inherits:
Struct
  • Object
show all
Defined in:
lib/bankroll/amortization_schedule.rb

Instance Attribute Summary collapse

Instance Attribute Details

#balanceObject

Returns the value of attribute balance

Returns:

  • (Object)

    the current value of balance



8
9
10
# File 'lib/bankroll/amortization_schedule.rb', line 8

def balance
  @balance
end

#interestObject

Returns the value of attribute interest

Returns:

  • (Object)

    the current value of interest



8
9
10
# File 'lib/bankroll/amortization_schedule.rb', line 8

def interest
  @interest
end

#paymentObject

Returns the value of attribute payment

Returns:

  • (Object)

    the current value of payment



8
9
10
# File 'lib/bankroll/amortization_schedule.rb', line 8

def payment
  @payment
end

#principalObject

Returns the value of attribute principal

Returns:

  • (Object)

    the current value of principal



8
9
10
# File 'lib/bankroll/amortization_schedule.rb', line 8

def principal
  @principal
end

#total_interestObject

Returns the value of attribute total_interest

Returns:

  • (Object)

    the current value of total_interest



8
9
10
# File 'lib/bankroll/amortization_schedule.rb', line 8

def total_interest
  @total_interest
end