com.retek.component.customerorder.impl
Class OrderMerchPromotionGroup

java.lang.Object
  extended bycom.retek.component.customerorder.impl.PromotionGroup
      extended bycom.retek.component.customerorder.impl.OrderMerchPromotionGroup

public class OrderMerchPromotionGroup
extends PromotionGroup


Nested Class Summary
 
Nested classes inherited from class com.retek.component.customerorder.impl.PromotionGroup
PromotionGroup.DistributablePromotionDiscount
 
Constructor Summary
OrderMerchPromotionGroup(User user, CustomerOrder order, CustomerOrderApplyPromotionsHelper promotionAnalyzer)
           
 
Method Summary
 void applyNoThresholdPromotions()
           
 void applyOrderThresholdPromotions()
           
protected  void doApplyDiscountToOrder(PromotionGroup.DistributablePromotionDiscount distributableDiscount, Money discountableAmount)
           
protected  Money getDiscountableAmount(Promotion promotion)
           
 
Methods inherited from class com.retek.component.customerorder.impl.PromotionGroup
addPromotion, applyDiscount, applyDiscountToOrderLine, applyDiscountToServiceLine, buildLinePromotionDiscount, distributeDollarOffAndPercentOffBenefits, distributeDollarOffBenefits, distributePercentOffBenefits, 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
 

Constructor Detail

OrderMerchPromotionGroup

public OrderMerchPromotionGroup(User user,
                                CustomerOrder order,
                                CustomerOrderApplyPromotionsHelper promotionAnalyzer)
Method Detail

applyNoThresholdPromotions

public final void applyNoThresholdPromotions()
                                      throws SystemException,
                                             BusinessException
Throws:
SystemException
BusinessException

applyOrderThresholdPromotions

public final void applyOrderThresholdPromotions()
                                         throws SystemException,
                                                BusinessException
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