com.retek.component.customerorder.impl
Class PlanCodePromotionGroup
java.lang.Object
com.retek.component.customerorder.impl.PromotionGroup
com.retek.component.customerorder.impl.PlanCodePromotionGroup
- public class PlanCodePromotionGroup
- extends PromotionGroup
Methods inherited from class com.retek.component.customerorder.impl.PromotionGroup |
addPromotion, applyDiscount, applyDiscountToOrderLine, applyDiscountToServiceLine, buildLinePromotionDiscount, distributeDollarOffAndPercentOffBenefits, getDiscountableOrderLines, getOrder, getPromotionBenefit, getPromotions, getPromotionsHelper, getUser, isApplicableForPromotionDiscounts, isDiscountable, reapplyLockedDiscountsForOrderLine, reapplyLockedDiscountsForServiceLine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlanCodePromotionGroup
public PlanCodePromotionGroup(User user,
CustomerOrder order,
CustomerOrderApplyPromotionsHelper promotionAnalyzer)
applyPromotions
public final void applyPromotions()
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
distributeDollarOffBenefits
protected final void distributeDollarOffBenefits(java.util.Set dollarOffPromotions)
throws SystemException,
BusinessException
- Overrides:
distributeDollarOffBenefits
in class PromotionGroup
- Throws:
SystemException
BusinessException
distributePercentOffBenefits
protected final void distributePercentOffBenefits(java.util.Set percentOffPromotions)
throws SystemException,
BusinessException
- Overrides:
distributePercentOffBenefits
in class PromotionGroup
- Throws:
SystemException
BusinessException
doApplyDiscountToOrder
protected final void doApplyDiscountToOrder(PromotionGroup.DistributablePromotionDiscount distributableDiscount,
Money discountableAmount)
throws BusinessException,
SystemException
- Specified by:
doApplyDiscountToOrder
in class PromotionGroup
- Throws:
BusinessException
SystemException
getDiscountableAmount
protected final Money getDiscountableAmount(Promotion promotion)
throws SystemException,
BusinessException
- Specified by:
getDiscountableAmount
in class PromotionGroup
- Throws:
SystemException
BusinessException
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28