public class PriceFilter extends java.lang.Object implements Predicate
CommerceSession
get-pricing
methods.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PN_TYPES
In order to use this filter the prices passed to it must have this property set and it has to be a
Set with String elements, where each element is a price type. |
Constructor and Description |
---|
PriceFilter(java.lang.String... types)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(java.lang.Object object)
Use the specified parameter to perform a test that returns true or false.
|
public static final java.lang.String PN_TYPES
Set
with String
elements, where each element is a price type.public PriceFilter(java.lang.String... types)
types
- the types this filter has to match. If empty, all prices will be included.public boolean evaluate(java.lang.Object object)
Predicate
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"