public interface Filter extends XMLizable
LineItemSet
,
and results in a second LineItemSet that is a subset of the original
LineItemSet. For example, a filter could return all of the order items in the
original LineItemSet which belong to the category "Sweaters".Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
TAG_FILTER
XML Tag Filter
|
Modifier and Type | Method and Description |
---|---|
LineItemSet |
filter(LineItemSet input,
PromotionContext context)
This method performs the business logic to filter the input LineItemSet
and return a subset of the original LineItemSet.
|
static final java.lang.String COPYRIGHT
static final java.lang.String TAG_FILTER
LineItemSet filter(LineItemSet input, PromotionContext context)
input
- LineItemSet
context
- PromotionContext
LineItemSet