org.mule.example.loanbroker.messages.LoanQuote Maven / Gradle / Ivy
/*
* $Id: LoanQuote.java 20321 2010-11-24 15:21:24Z dfeist $
* --------------------------------------------------------------------------------------
* Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com
*
* The software in this package is published under the terms of the CPAL v1.0
* license, a copy of which has been included with this distribution in the
* LICENSE.txt file.
*/
package org.mule.example.loanbroker.messages;
import org.mule.example.loanbroker.LocaleMessage;
import java.io.Serializable;
/**
* LoanQuote
is a loan quote from a bank
*/
public class LoanQuote implements Serializable
{
/**
* Serial version
*/
private static final long serialVersionUID = -8432932027217141564L;
private String bankName;
private double interestRate = 0;
public LoanQuote()
{
super();
}
public String getBankName()
{
return bankName;
}
public void setBankName(String bankName)
{
this.bankName = bankName;
}
public double getInterestRate()
{
return interestRate;
}
public void setInterestRate(double interestRate)
{
this.interestRate = interestRate;
}
public String toString()
{
return LocaleMessage.loanQuote(bankName, interestRate);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy