com.retek.component.item
Interface ThresholdableItem

All Known Subinterfaces:
Item, ItemThresholdableItem, MediaThresholdableItem, Pack, PackSellingSku, PackSellingSkuComponent, SellableItem, SellingItem, SellingSku, Sku, Style
All Known Implementing Classes:
AbstractItemThresholdableItem, AbstractMediaThresholdableItem, ItemImpl, PackImpl, PackSellingSkuComponentImpl, PackSellingSkuImpl, SellableItemImpl, SellingItemImpl, SellingSkuImpl, SkuImpl, StyleImpl

public interface ThresholdableItem

This inteface class defines the methods that must be implemented by a class in order to act as a thresholdable item. ItemCurrencyAmountThresholds and ItemQuantityThresholds classes represent amount and quantity thresholds that must be achieved before a promotion benefit is received. For example, if you buy at least 2 chairs you receieve a 10% discount on the chairs. A thresholdable item is either a SellingItem, a SellingSku, a Style, or a SellableItem. Since the SellingItem and SellingSku are OID-ed but the Style and SellableItem are not, the DistributeObject is not included in this interface's hierarchy. The classes that refer to ThresholdableItem are responsible for handling the OID-ed vs. non-OID-ed differences.


Method Summary
 java.lang.String getDescription()
           
 java.lang.String getItemDisplayCode()
           
 boolean match(java.lang.Object object)
           
 

Method Detail

getItemDisplayCode

public java.lang.String getItemDisplayCode()
                                    throws SystemException
Throws:
SystemException

getDescription

public java.lang.String getDescription()
                                throws SystemException
Throws:
SystemException

match

public boolean match(java.lang.Object object)
              throws SystemException
Throws:
SystemException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28