atg.commerce.pricing
Class QualifiedItem

java.lang.Object
  extended by atg.commerce.pricing.QualifiedItem

public class QualifiedItem
extends java.lang.Object

Holds information about a CommerceItem that has qualified for a discount.

Properties:


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
QualifiedItem(CommerceItem pItem)
           
 
Method Summary
 CommerceItem getItem()
          Get the CommerceItem which qualified.
 java.util.Map getQualifyingDetailsMap()
          a map of DetailedItemPriceInfo objects to the number of times that details qualified
 void setItem(CommerceItem pItem)
          Set the CommerceItem which qualfied.
 void setQualifyingDetailsMap(java.util.Map pQualifyingDetailsMap)
          a map of DetailedItemPriceInfo objects to the number of times that details qualified
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

QualifiedItem

public QualifiedItem(CommerceItem pItem)
Method Detail

setItem

public void setItem(CommerceItem pItem)
Set the CommerceItem which qualfied.

Parameters:
pItem - new value to set

getItem

public CommerceItem getItem()
Get the CommerceItem which qualified.

Returns:
Item

setQualifyingDetailsMap

public void setQualifyingDetailsMap(java.util.Map pQualifyingDetailsMap)
a map of DetailedItemPriceInfo objects to the number of times that details qualified

Parameters:
pQualifyingDetailsMap - new value to set

getQualifyingDetailsMap

public java.util.Map getQualifyingDetailsMap()
a map of DetailedItemPriceInfo objects to the number of times that details qualified

Returns:
property QualifyingDetailsMap

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object