|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object be.ac.ua.broker.input.pricing.Price be.ac.ua.broker.input.pricing.ReservedPrice
public class ReservedPrice
This class represents a reserved price in the broker. It consist of a fixed price together with a hourly price.
Constructor Summary | |
---|---|
ReservedPrice(double hourly,
double fixed)
Constructor for ReservedPrice |
Method Summary | |
---|---|
double |
getFixedPrice()
|
java.lang.String |
getPricingModel()
|
void |
print()
Print the price information |
Methods inherited from class be.ac.ua.broker.input.pricing.Price |
---|
getHourlyPrice |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReservedPrice(double hourly, double fixed)
hourly
- the hourly price in US dollarsfixed
- the fixed price per one-year period in US dollarsMethod Detail |
---|
public double getFixedPrice()
public void print()
Price
print
in class Price
public java.lang.String getPricingModel()
getPricingModel
in class Price
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |