LoanerStatepublic interface ILoaner
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(LoanProposal proposal) |
Add a loan proposal.
|
void |
add(LoanRequest request) |
Add a loan request.
|
void |
addDebt(IDebt debt) |
Add a new debt to the list.
|
void |
clearOldRequests() |
Remove request that are older than a certain time span.
|
ICity |
getCity() |
Retrieve the city the loaner belongs to.
|
java.util.List<IDebt> |
getDebts() |
Retrieve the list of all debts for this city.
|
java.util.List<ILoanProposal> |
getLoanProposals() |
Retrieve the loans that can be taken.
|
java.util.List<ILoanRequest> |
getRequests() |
List of requested loans.
|
java.util.List<IDebt> getDebts()
java.util.List<ILoanProposal> getLoanProposals()
void addDebt(IDebt debt)
debt - to be addedjava.util.List<ILoanRequest> getRequests()
ICity getCity()
void clearOldRequests()
void add(LoanProposal proposal)
proposal - to be addedvoid add(LoanRequest request)
request - to be addedCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.