org.broadleafcommerce.core.order.service.type
Class FulfillmentType

java.lang.Object
  extended by org.broadleafcommerce.core.order.service.type.FulfillmentType
All Implemented Interfaces:
Serializable, BroadleafEnumerationType

public class FulfillmentType
extends Object
implements Serializable, BroadleafEnumerationType

An extendible enumeration of fulfillment group types.

Author:
jfischer
See Also:
Serialized Form

Field Summary
static FulfillmentType DIGITAL
           
static FulfillmentType GIFT_CARD
           
static FulfillmentType PHYSICAL_PICKUP
           
static FulfillmentType PHYSICAL_PICKUP_OR_SHIP
           
static FulfillmentType PHYSICAL_SHIP
           
static FulfillmentType SHIPPING
          Deprecated. 
protected static Map<String,FulfillmentType> TYPES
           
 
Constructor Summary
FulfillmentType()
           
FulfillmentType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static FulfillmentType getInstance(String type)
           
 String getType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPES

protected static final Map<String,FulfillmentType> TYPES

DIGITAL

public static final FulfillmentType DIGITAL

PHYSICAL_SHIP

public static final FulfillmentType PHYSICAL_SHIP

PHYSICAL_PICKUP

public static final FulfillmentType PHYSICAL_PICKUP

PHYSICAL_PICKUP_OR_SHIP

public static final FulfillmentType PHYSICAL_PICKUP_OR_SHIP

GIFT_CARD

public static final FulfillmentType GIFT_CARD

SHIPPING

@Deprecated
public static final FulfillmentType SHIPPING
Deprecated. 
Constructor Detail

FulfillmentType

public FulfillmentType()

FulfillmentType

public FulfillmentType(String type,
                       String friendlyType)
Method Detail

getInstance

public static FulfillmentType getInstance(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 © 2013. All Rights Reserved.