DiscountCalculatorFixedPrice Class

com.bea.commerce.ebusiness.price.engine
DiscountCalculatorFixedPrice Class

public class DiscountCalculatorFixedPrice

    extends AbstractDiscountCalculator

Hierarchy
Object
  AbstractDiscountCalculator
    DiscountCalculatorFixedPrice
All Implemented Interfaces

DiscountCalculator

Field Summary

public static final String
cName
String
   
Fields from  com.bea.commerce.ebusiness.price.engine.AbstractDiscountCalculator
DEBUG
 
Fields from interface com.bea.commerce.ebusiness.price.engine.DiscountCalculator
calcMethod
 

Constructor Summary

DiscountCalculatorFixedPrice()

 

Method Summary

public void
calcNewPrice(DiscountModifier modifier, AdjustmentType type, QualificationDiscountId discountID, String reason, PoolObject object)
public void
calcNewPrice(DiscountModifier modifier, AdjustmentType type, QualificationDiscountId discountID, String reason, List objects)
List of PoolObject(s).
protected double
computeNewPrice(PoolObject object)
Override this method to have processList() work.
protected String
getComputation()
 
Methods from  com.bea.commerce.ebusiness.price.engine.AbstractDiscountCalculator
adjust, adjust, processList
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface com.bea.commerce.ebusiness.price.engine.DiscountCalculator
calcNewPrice, calcNewPrice
 

Field Detail

cName

public static final String cName

 

Constructor Detail

DiscountCalculatorFixedPrice

public DiscountCalculatorFixedPrice()
 

Method Detail

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()