Interface ILoanProposal
-
- All Known Implementing Classes:
LoanProposal
public interface ILoanProposal
- Author:
- Andi Hotz, (c) Sahits GmbH, 2015 Created on Jan 04, 2015
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getAmount()
Amount of money indebted without interest.int
getDurationInWeeks()
Retrieve the duration in weeks.double
getInterest()
Interest of the debt over the whole duration.
-
-
-
Method Detail
-
getInterest
double getInterest()
Interest of the debt over the whole duration.- Returns:
- interest rate
-
getAmount
int getAmount()
Amount of money indebted without interest.- Returns:
- initial amount to be loaned
-
getDurationInWeeks
int getDurationInWeeks()
Retrieve the duration in weeks.- Returns:
- duration in weeks for the loan.
-
-