public class DefaultLender extends Object implements LenderService
DefaultLenderService is responsible for contacting the relivant
banks depending on the amount of the loan| Constructor and Description |
|---|
DefaultLender() |
| Modifier and Type | Method and Description |
|---|---|
Bank[] |
getLenders(CreditProfile creditProfile,
Double loanAmount)
Returns a list of banks willing to offer a loan based on a customer's credit profile and the amount of
the loan.
|
void |
setLenderList(LoanBrokerQuoteRequest request)
Sets the list of lenders on the LoanBrokerQuoteRequest and returns it.
|
public void setLenderList(LoanBrokerQuoteRequest request)
public Bank[] getLenders(CreditProfile creditProfile, Double loanAmount)
getLenders in interface LenderServiceCopyright © 2003–2014 MuleSoft, Inc.. All rights reserved.