com.retek.component.customerorder
Class CustomerOrderPromotionDiscountRollup

java.lang.Object
  extended bycom.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.


Constructor Summary
CustomerOrderPromotionDiscountRollup(Promotion promotion)
           
 
Method Summary
 void addPromotionDiscount(CustomerOrderPromotionDiscount discount)
           
 boolean equals(java.lang.Object obj)
           
 Money getDiscountAmount()
           
static java.util.Collection getDiscountsByPromotion(java.util.Collection promotionDiscounts)
           
static CustomerOrderPromotionDiscountRollup getDiscountsForPromotion(Promotion promotion, java.util.List promotionDiscounts)
           
 CustomerOrderPromotionDiscountType getDiscountType()
           
 java.util.Collection getNonLockedPromotionDiscounts()
           
 Promotion getPromotion()
           
 java.util.List getPromotionDiscounts()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomerOrderPromotionDiscountRollup

public CustomerOrderPromotionDiscountRollup(Promotion promotion)
Method Detail

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