Class CustomerMaxUsesStrategyType
java.lang.Object
org.broadleafcommerce.core.offer.service.type.CustomerMaxUsesStrategyType
- All Implemented Interfaces:
Serializable,BroadleafEnumerationType
public class CustomerMaxUsesStrategyType
extends Object
implements Serializable, BroadleafEnumerationType
Determines how the Offer.getMaxUsesPerCustomer() will be applied.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CustomerMaxUsesStrategyTypestatic final CustomerMaxUsesStrategyType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CustomerMaxUsesStrategyTypegetInstance(String type) getType()inthashCode()void
-
Field Details
-
CUSTOMER
-
ACCOUNT
-
-
Constructor Details
-
CustomerMaxUsesStrategyType
public CustomerMaxUsesStrategyType() -
CustomerMaxUsesStrategyType
-
-
Method Details
-
getInstance
-
getType
- Specified by:
getTypein interfaceBroadleafEnumerationType
-
setType
-
getFriendlyType
- Specified by:
getFriendlyTypein interfaceBroadleafEnumerationType
-
hashCode
public int hashCode() -
equals
-