Class OfferItemRestrictionRuleType
java.lang.Object
org.broadleafcommerce.core.offer.service.type.OfferItemRestrictionRuleType
- All Implemented Interfaces:
Serializable,org.broadleafcommerce.common.BroadleafEnumerationType
public class OfferItemRestrictionRuleType
extends Object
implements Serializable, org.broadleafcommerce.common.BroadleafEnumerationType
An extendible enumeration of offer item restriction types. Determines how items in the order can be used across multiple promotions
NONE - Cannot be used in more than one promotion QUALIFIER - Can be used as a qualifier for multiple promotions, but cannot be a target for multiple promotions TARGET - Can be used as a target for multiple promotions, but cannot be used as a qualifier for multiple promotions QUALIFIER_TARGET - Can be used as a qualifier and target in multiple promotions
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OfferItemRestrictionRuleTypestatic final OfferItemRestrictionRuleTypestatic final OfferItemRestrictionRuleTypestatic final OfferItemRestrictionRuleType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic OfferItemRestrictionRuleTypegetInstance(String type) getType()inthashCode()void
-
Field Details
-
NONE
-
QUALIFIER
-
TARGET
-
QUALIFIER_TARGET
-
-
Constructor Details
-
OfferItemRestrictionRuleType
public OfferItemRestrictionRuleType() -
OfferItemRestrictionRuleType
-
-
Method Details
-
getInstance
-
getType
- Specified by:
getTypein interfaceorg.broadleafcommerce.common.BroadleafEnumerationType
-
setType
-
getFriendlyType
- Specified by:
getFriendlyTypein interfaceorg.broadleafcommerce.common.BroadleafEnumerationType
-
hashCode
public int hashCode() -
equals
-