org.broadleafcommerce.core.offer.service.type
Class OfferType
java.lang.Object
org.broadleafcommerce.core.offer.service.type.OfferType
- All Implemented Interfaces:
- Serializable, BroadleafEnumerationType
public class OfferType
- extends Object
- implements Serializable, BroadleafEnumerationType
An extendible enumeration of offer types.
- See Also:
- Serialized Form
ORDER
public static final OfferType ORDER
FULFILLMENT_GROUP
public static final OfferType FULFILLMENT_GROUP
ORDER_ITEM
public static final OfferType ORDER_ITEM
OfferType
public OfferType()
OfferType
public OfferType(String type,
String friendlyType)
getInstance
public static OfferType getInstance(String type)
setType
public void setType(String type)
getType
public String getType()
- Specified by:
getType in interface BroadleafEnumerationType
getFriendlyType
public String getFriendlyType()
- Specified by:
getFriendlyType in interface BroadleafEnumerationType
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2012. All Rights Reserved.