|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuleParameter
Represents a parameter of a rule condition, such as the category that a product must belong to to qualify for a promotion.
Field Summary | |
---|---|
static java.lang.String |
BOOLEAN_KEY
Boolean parameter value must be "true" or "false". |
static java.lang.String |
BRAND_CODE_KEY
Brand code. |
static java.lang.String |
CATEGORY_ID_KEY
Category UID. |
static java.lang.String |
CURRENCY_KEY
Currency. |
static java.lang.String |
CUSTOMERGROUP_ID_KEY
CustomerGroup id. |
static java.lang.String |
DISCOUNT_AMOUNT_KEY
Amount of a discount. |
static java.lang.String |
DISCOUNT_PERCENT_KEY
Percent of a discount. |
static java.lang.String |
NUM_ITEMS_KEY
Number of items. |
static java.lang.String |
PRODUCT_ID_KEY
Product UID. |
static java.lang.String |
SHIPPING_SERVICE_LEVEL_ID_KEY
Shipping service level UID. |
static java.lang.String |
SKU_CODE_KEY
SKU code. |
static java.lang.String |
SUBTOTAL_AMOUNT_KEY
Cart subtotal amount. |
Method Summary | |
---|---|
java.lang.String |
getDisplayText()
Get the display text for this parameter. |
java.lang.String |
getKey()
Get the parameter key. |
java.lang.String |
getValue()
Get the parameter value. |
void |
setDisplayText(java.lang.String displayText)
Set the text to be displayed for this parameter. |
void |
setKey(java.lang.String key)
Set the parameter key. |
void |
setValue(java.lang.String value)
Set the parameter value. |
Methods inherited from interface com.elasticpath.domain.Persistence |
---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Field Detail |
---|
static final java.lang.String BOOLEAN_KEY
static final java.lang.String BRAND_CODE_KEY
static final java.lang.String CATEGORY_ID_KEY
static final java.lang.String CURRENCY_KEY
static final java.lang.String CUSTOMERGROUP_ID_KEY
static final java.lang.String DISCOUNT_AMOUNT_KEY
static final java.lang.String DISCOUNT_PERCENT_KEY
static final java.lang.String NUM_ITEMS_KEY
static final java.lang.String PRODUCT_ID_KEY
static final java.lang.String SHIPPING_SERVICE_LEVEL_ID_KEY
static final java.lang.String SKU_CODE_KEY
static final java.lang.String SUBTOTAL_AMOUNT_KEY
Method Detail |
---|
java.lang.String getDisplayText()
java.lang.String getKey()
java.lang.String getValue()
void setDisplayText(java.lang.String displayText)
displayText
- the text to display. Set to null to use the parameter value.void setKey(java.lang.String key)
key
- the parameter keyvoid setValue(java.lang.String value)
value
- the parameter value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |