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: The CommerceItem that qualified for a discount.

  • qualifyingDetailsMap: A map keyed by the DetailedItemPriceInfo objects contained in the ItemPriceInfo object (which, in turn, is contained in the CommerceItem). The values are Range objects which specify which item prices in each DetailedItemPriceInfo will receive the discount.

 
loading table of contents...