public interface IDebt
| Modifier and Type | Method and Description |
|---|---|
int |
getAmount()
Amount of money indebted without interest.
|
ICreditor |
getCreditor()
Retrieve the citizen that owns the debt.
|
ICitizen |
getDebitor()
Retrieve the citizen that is in debt.
|
java.time.LocalDateTime |
getDueDate()
Retrieve the date when the debt has to be payed back.
|
double |
getInterest()
Interest of the debt over the whole duration.
|
long |
getLoanedDuration(java.time.LocalDateTime now)
Retrieve the duration in full days since taking the loan.
|
long |
getTotalDuration()
Retrieve the total duration of the loan in days.
|
ICitizen getDebitor()
ICreditor getCreditor()
java.time.LocalDateTime getDueDate()
long getLoanedDuration(java.time.LocalDateTime now)
long getTotalDuration()
double getInterest()
int getAmount()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.