public interface QuantityBasedRule extends Serializable
Modifier and Type | Method and Description |
---|---|
Long |
getId()
The primary key value for this rule object
|
String |
getMatchRule()
The rule in the form of an MVEL expression
|
Integer |
getQuantity()
The quantity for which a match must be found using the rule.
|
void |
setId(Long id)
The primary key value for this rule object
|
void |
setMatchRule(String matchRule)
Sets the match rule used to test this item.
|
void |
setQuantity(Integer quantity)
The quantity for which a match must be found using the rule.
|
Integer getQuantity()
void setQuantity(Integer quantity)
quantity
- the quantity of matches requiredString getMatchRule()
void setMatchRule(String matchRule)
matchRule
- the rule as an MVEL stringLong getId()
void setId(Long id)
id
- the primary key valueCopyright © 2022. All rights reserved.