com.retek.component.customerorder.impl.command
Class CustomerOrderApplyPromotionsHelper
java.lang.Object
com.retek.component.customerorder.impl.command.CustomerOrderApplyPromotionsHelper
- public class CustomerOrderApplyPromotionsHelper
- extends java.lang.Object
Class providing utilities and computations for applying promotions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomerOrderApplyPromotionsHelper
public CustomerOrderApplyPromotionsHelper(CustomerOrderImpl order)
isApplicable
public boolean isApplicable(Promotion promotion)
throws SystemException
- Throws:
SystemException
getQualifyingThreshold
public PromotionThreshold getQualifyingThreshold(Promotion promotion)
throws SystemException
- Throws:
SystemException
getTotalExtendedItemPriceLessDiscounts
public Money getTotalExtendedItemPriceLessDiscounts(Promotion promotion,
ThresholdableItem thresholdableItem)
throws SystemException
- Throws:
SystemException
getTotalSaleExtendedPrice
public Money getTotalSaleExtendedPrice(Promotion promotion)
throws SystemException
- Throws:
SystemException
getExtendedPriceLessDiscountsForOrderLine
public Money getExtendedPriceLessDiscountsForOrderLine(CustomerOrderLineImpl orderLine)
throws SystemException
- Throws:
SystemException
getExtendedAdditionalShippingChargeLessDiscountsForOrderLine
public Money getExtendedAdditionalShippingChargeLessDiscountsForOrderLine(CustomerOrderLineImpl orderLine)
throws SystemException
- Throws:
SystemException
getExtendedPriceLessDiscountsForServiceLine
public Money getExtendedPriceLessDiscountsForServiceLine(CustomerOrderServiceLineImpl serviceLine)
throws SystemException
- Throws:
SystemException
getTotalStandardShippingChargeLessDiscounts
public Money getTotalStandardShippingChargeLessDiscounts(CustomerOrderImpl order)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
getUnappliedLockedPromotionDiscounts
public java.util.List getUnappliedLockedPromotionDiscounts(PromotionDiscountable promotionDiscountable,
Promotion promotion)
throws SystemException
- Throws:
SystemException
setUnappliedLockedPromotionDiscounts
public void setUnappliedLockedPromotionDiscounts(java.util.List promotionDiscounts)
throws SystemException
- Throws:
SystemException
getAppliedPromotionDiscounts
public java.util.List getAppliedPromotionDiscounts(PromotionDiscountable promotionDiscountable)
throws SystemException
- Throws:
SystemException
reapplyLockedPromotionDiscount
public void reapplyLockedPromotionDiscount(CustomerOrderPromotionDiscountImpl discount)
throws SystemException
- Throws:
SystemException
applyNewPromotionDiscount
public void applyNewPromotionDiscount(PromotionDiscountable promotionDiscountable,
CustomerOrderPromotionDiscountImpl discount)
throws SystemException
- Throws:
SystemException
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28