You can replace the way that a helper method determines its result set by extending the Qualifier to override any of the existing findQualifyingitemType methods.

For example, you might not want to use a PMDL rule to determine the objects to discount. You could use a repository query to select the items that a given promotion should discount. The list of items to discount could be stored in the promotion itself. The findQualifyingItems method could access the promotion, read the items to discount, and return them.

Alternatively, you can create your own custom Qualifier service with its own findQualifyingitemtype implementation. You can then configure a pricing engine to use the new Qualifier service, or configure individual promotions to use it through the qualifierService property.

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices