public class OfferDiscountType extends Object implements Serializable, BroadleafEnumerationType
| Modifier and Type | Field and Description |
|---|---|
static OfferDiscountType |
AMOUNT_OFF |
static OfferDiscountType |
FIX_PRICE |
static OfferDiscountType |
PERCENT_OFF |
| Constructor and Description |
|---|
OfferDiscountType() |
OfferDiscountType(String type,
String friendlyType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getFriendlyType() |
static OfferDiscountType |
getInstance(String type) |
String |
getType() |
int |
hashCode() |
void |
setType(String type) |
public static final OfferDiscountType PERCENT_OFF
public static final OfferDiscountType AMOUNT_OFF
public static final OfferDiscountType FIX_PRICE
public static OfferDiscountType getInstance(String type)
public void setType(String type)
public String getType()
getType in interface BroadleafEnumerationTypepublic String getFriendlyType()
getFriendlyType in interface BroadleafEnumerationTypeCopyright © 2014. All Rights Reserved.