org.broadleafcommerce.offer.service.type
Class OfferDeliveryType
java.lang.Object
org.broadleafcommerce.offer.service.type.OfferDeliveryType
- All Implemented Interfaces:
- java.io.Serializable
public class OfferDeliveryType
- extends java.lang.Object
- implements java.io.Serializable
An extendible enumeration of delivery types.
Enumeration of how the offer should be applied.
AUTOMATIC - will be applied to everyone's order
MANUAL - offer is manually assigned to a Customer by an administrator
CODE - a offer code must be supplied in order to receive this offer
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
AUTOMATIC
public static final OfferDeliveryType AUTOMATIC
MANUAL
public static final OfferDeliveryType MANUAL
CODE
public static final OfferDeliveryType CODE
OfferDeliveryType
public OfferDeliveryType()
OfferDeliveryType
public OfferDeliveryType(java.lang.String type)
getInstance
public static OfferDeliveryType getInstance(java.lang.String type)
setType
public void setType(java.lang.String type)
getType
public java.lang.String getType()
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 © 2010. All Rights Reserved.