|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PromotionQualifyingFilter
Interface to allow custom filters for promotion qualifying. The Qualifier service is an example of a service that implements this interface.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Method Summary | |
---|---|
void |
filterItems(int pFilterContext,
PricingContext PricingContext,
java.util.Map pExtraParameters,
java.util.Map pDetailsPendingActingAsQualifier,
java.util.Map pDetailsRangesToReceiveDiscount,
java.util.List pFilteredItems)
Implementations should ensure the pFilteredItems list contains the appropriate FilteredCommerceItem items. |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
void filterItems(int pFilterContext, PricingContext PricingContext, java.util.Map pExtraParameters, java.util.Map pDetailsPendingActingAsQualifier, java.util.Map pDetailsRangesToReceiveDiscount, java.util.List pFilteredItems) throws PricingException
This list will be empty initially and so usually the first filter will populate the list from the pricing context items (this is the default behaviour of the Qualifier service).
Subsequent filters need only then filter items out of this list.
pFilterContext
- int context of the filtering, e.g. qualifier or target filteringpPricingContext
- PricingContext to filter withpExtraParameters
- Map of extra parameterspDetailsPendingActingAsQualifier
- the Ranges of various DetailedItemPriceInfos
that are pending for qualifying this promotion.pDetailsRangesToReceiveDiscount
- the Ranges of various DetailedItemPriceInfos
that are going to receive the discountpFilteredItems
- output param which represents the CommerceItems still valid for the filter context
PricingException
- for problems filtering.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |