public class Bank extends Object implements ServiceAware, Serializable, BankService
Bank is a representation of a bank from which to obtain loan
quotes.| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
logger
logger used by this class
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBankName() |
String |
getEndpoint() |
LoanQuote |
getLoanQuote(LoanBrokerQuoteRequest request) |
double |
getPrimeRate() |
void |
setBankName(String bankName) |
void |
setEndpoint(String endpoint) |
void |
setPrimeRate(double primeRate) |
void |
setService(Service service) |
protected static final org.apache.commons.logging.Log logger
public Bank()
public Bank(String bankname)
public void setService(Service service)
setService in interface ServiceAwarepublic LoanQuote getLoanQuote(LoanBrokerQuoteRequest request)
getLoanQuote in interface BankServicepublic String getBankName()
public void setBankName(String bankName)
public double getPrimeRate()
public void setPrimeRate(double primeRate)
public String getEndpoint()
public void setEndpoint(String endpoint)
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.