public static enum AbstractPromotionRestriction.RestrictionResult extends java.lang.Enum<AbstractPromotionRestriction.RestrictionResult>
AbstractPromotionRestriction.evaluate(de.hybris.platform.jalo.SessionContext, java.util.Collection<de.hybris.platform.jalo.product.Product>, java.util.Date, de.hybris.platform.jalo.order.AbstractOrder) methods.| Enum Constant and Description |
|---|
ADJUSTED_PRODUCTS
The restriction has allowed the evaluation, but has restricted the set of products that can be operated on.
|
ALLOW
The restriction has allowed the evaluation.
|
DENY
The restriction has denied the evaluation.
|
| Modifier and Type | Method and Description |
|---|---|
static AbstractPromotionRestriction.RestrictionResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractPromotionRestriction.RestrictionResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractPromotionRestriction.RestrictionResult DENY
public static final AbstractPromotionRestriction.RestrictionResult ALLOW
public static final AbstractPromotionRestriction.RestrictionResult ADJUSTED_PRODUCTS
public static AbstractPromotionRestriction.RestrictionResult[] values()
for (AbstractPromotionRestriction.RestrictionResult c : AbstractPromotionRestriction.RestrictionResult.values()) System.out.println(c);
public static AbstractPromotionRestriction.RestrictionResult valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2018 SAP SE. All Rights Reserved.