The atg.commerce.pricing.QualifiedItem
class holds information about a CommerceItem
that qualifies for a discount. The information includes the names of the items that qualify and their quantity. QualifiedItems
are returned from the Qualifier.findQualifyingItems
method. Refer to Extending the ItemDiscountCalculator for more in formation on the uses of this class.
The QualifiedItem
class contains the following properties:
item
: TheCommerceItem
that qualified for a discount.qualifyingDetailsMap
: A map keyed by theDetailedItemPriceInfo
objects contained in theItemPriceInfo
object (which, in turn, is contained in theCommerceItem)
. The values are Range objects which specify which item prices in eachDetailedItemPriceInfo
will receive the discount.