com.bea.commerce.ebusiness.price.engine
Interface DiscountCalculator

All Known Implementing Classes:
AbstractDiscountCalculator, DiscountCalculatorFixedOff, DiscountCalculatorFixedPrice, DiscountCalculatorPercentOff

Deprecated See BEA Commerce product offering

@Deprecated
public interface DiscountCalculator

The DiscountCalculator will produce the new price of an entity (item, order shipping, ...) given a DiscountModifier instance and an entity. DiscountModifier is used by a DiscountCalculator to determine to what amount an entity should be discounted. This class should be implemented to produce a particular type of calculator. A specific DiscountCalculator implementation will be associated with a particular type or types of DiscountModifier classes at runtime.


Field Summary
static String calcMethod
          Deprecated See BEA Commerce product offering
 
Method Summary
 void calcNewPrice(DiscountModifier modifier, AdjustmentType type, QualificationDiscountId discountID, String reason, List items)
          Deprecated See BEA Commerce product offering
 void calcNewPrice(DiscountModifier modifier, AdjustmentType type, QualificationDiscountId discountID, String reason, PoolObject item)
          Deprecated See BEA Commerce product offering
 

Field Detail

calcMethod

static final String calcMethod
Deprecated See BEA Commerce product offering
See Also
Constants Summary
Method Detail

calcNewPrice

void calcNewPrice(DiscountModifier modifier,
                  AdjustmentType type,
                  QualificationDiscountId discountID,
                  String reason,
                  PoolObject item)
Deprecated See BEA Commerce product offering


calcNewPrice

void calcNewPrice(DiscountModifier modifier,
                  AdjustmentType type,
                  QualificationDiscountId discountID,
                  String reason,
                  List items)
Deprecated See BEA Commerce product offering

List of PoolObject(s).



Copyright © 2006 BEA Systems, Inc. All Rights Reserved