org.broadleafcommerce.core.offer.service.type
Class OfferType
java.lang.Object
org.broadleafcommerce.core.offer.service.type.OfferType
- All Implemented Interfaces:
- java.io.Serializable, BroadleafEnumerationType
public class OfferType
- extends java.lang.Object
- implements java.io.Serializable, BroadleafEnumerationType
An extendible enumeration of offer types.
- See Also:
- Serialized Form
|
Constructor Summary |
OfferType()
|
OfferType(java.lang.String type,
java.lang.String friendlyType)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
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(java.lang.String type,
java.lang.String friendlyType)
getInstance
public static OfferType getInstance(java.lang.String type)
setType
public void setType(java.lang.String type)
getType
public java.lang.String getType()
- Specified by:
getType in interface BroadleafEnumerationType
getFriendlyType
public java.lang.String getFriendlyType()
- Specified by:
getFriendlyType in interface BroadleafEnumerationType
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
Copyright © 2012. All Rights Reserved.