|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ftlabs.fisa.calc.PriceQuote
public class PriceQuote
A price based implementation of Quote.
| Constructor Summary | |
|---|---|
PriceQuote(double price)
Constructs a new instance of PriceQuote using the given price without a concession. |
|
PriceQuote(double price,
double concession)
Constructs a new instance of PriceQuote using the given price and concession. |
|
| Method Summary | |
|---|---|
double |
getConcession()
Get the concession. |
double |
getPrice()
Get the quote price. |
double |
getPrice(Calculator maturityCalculator,
Calculator[] otherRedemptionCalculators)
Returns a price. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PriceQuote(double price)
price - the price.
public PriceQuote(double price,
double concession)
price - the price.concession - the concession.| Method Detail |
|---|
public double getPrice()
public double getConcession()
public double getPrice(Calculator maturityCalculator,
Calculator[] otherRedemptionCalculators)
throws CalculationException
Quote
getPrice in interface QuotematurityCalculator - A calculator bound to maturity.otherRedemptionCalculators - An array of calculators bound to
each of the calls.
CalculationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||