com.retek.component.customerorder
Class CustomerOrderPromotionDiscountRollup
java.lang.Object
com.retek.component.customerorder.CustomerOrderPromotionDiscountRollup
- Direct Known Subclasses:
- CustomerOrderLinePromotionDiscountRollup
- public class CustomerOrderPromotionDiscountRollup
- extends java.lang.Object
Class which represents a summary for a given set of discount
records rolled-up by a specific promotion.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CustomerOrderPromotionDiscountRollup
public CustomerOrderPromotionDiscountRollup(Promotion promotion)
getPromotion
public Promotion getPromotion()
getDiscountAmount
public Money getDiscountAmount()
getDiscountType
public CustomerOrderPromotionDiscountType getDiscountType()
getNonLockedPromotionDiscounts
public java.util.Collection getNonLockedPromotionDiscounts()
getPromotionDiscounts
public java.util.List getPromotionDiscounts()
addPromotionDiscount
public void addPromotionDiscount(CustomerOrderPromotionDiscount discount)
throws SystemException
- Throws:
SystemException
equals
public boolean equals(java.lang.Object obj)
hashCode
public int hashCode()
toString
public java.lang.String toString()
getDiscountsByPromotion
public static java.util.Collection getDiscountsByPromotion(java.util.Collection promotionDiscounts)
throws SystemException
- Throws:
SystemException
getDiscountsForPromotion
public static CustomerOrderPromotionDiscountRollup getDiscountsForPromotion(Promotion promotion,
java.util.List promotionDiscounts)
throws SystemException
- Throws:
SystemException
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28