DiscountCalculatorFixedPrice Class
- public class DiscountCalculatorFixedPrice
extends AbstractDiscountCalculator
-
Hierarchy
-
Object
AbstractDiscountCalculator
DiscountCalculatorFixedPrice
-
All Implemented Interfaces
-
DiscountCalculator
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cName
public static final String
cName
DiscountCalculatorFixedPrice
public DiscountCalculatorFixedPrice()
calcNewPrice(DiscountModifier, AdjustmentType, QualificationDiscountId, String, PoolObject) Method
public void calcNewPrice(DiscountModifier
modifier,
AdjustmentType
type,
QualificationDiscountId
discountID,
String
reason,
PoolObject
object)
calcNewPrice(DiscountModifier, AdjustmentType, QualificationDiscountId, String, List) Method
public void calcNewPrice(DiscountModifier
modifier,
AdjustmentType
type,
QualificationDiscountId
discountID,
String
reason,
List
objects)
List of PoolObject(s).
computeNewPrice(PoolObject) Method
protected double computeNewPrice(PoolObject
object)
Description copied from AbstractDiscountCalculator.computeNewPrice(PoolObject)
Override this method to have processList() work.
-
Overrides
-
AbstractDiscountCalculator.computeNewPrice(PoolObject)
getComputation() Method
protected String
getComputation()
-
Overrides
-
AbstractDiscountCalculator.getComputation()