Class OfferDiscountType
java.lang.Object
org.broadleafcommerce.core.offer.service.type.OfferDiscountType
- All Implemented Interfaces:
Serializable,BroadleafEnumerationType
An extendible enumeration of discount types.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OfferDiscountTypestatic final OfferDiscountTypestatic final OfferDiscountType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic OfferDiscountTypegetInstance(String type) getType()inthashCode()void
-
Field Details
-
PERCENT_OFF
-
AMOUNT_OFF
-
FIX_PRICE
-
-
Constructor Details
-
OfferDiscountType
public OfferDiscountType() -
OfferDiscountType
-
-
Method Details
-
getInstance
-
getType
- Specified by:
getTypein interfaceBroadleafEnumerationType
-
setType
-
getFriendlyType
- Specified by:
getFriendlyTypein interfaceBroadleafEnumerationType
-
hashCode
public int hashCode() -
equals
-