public class AvailabilityType extends Object implements Serializable, org.broadleafcommerce.common.BroadleafEnumerationType
Modifier and Type | Field and Description |
---|---|
static AvailabilityType |
IN_STOCK |
static AvailabilityType |
NO_STOCK |
static AvailabilityType |
PREORDER |
Constructor and Description |
---|
AvailabilityType() |
AvailabilityType(String type,
String friendlyType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getFriendlyType() |
static AvailabilityType |
getInstance(String type) |
String |
getType() |
int |
hashCode() |
public static final AvailabilityType IN_STOCK
public static final AvailabilityType NO_STOCK
public static final AvailabilityType PREORDER
public static AvailabilityType getInstance(String type)
public String getType()
getType
in interface org.broadleafcommerce.common.BroadleafEnumerationType
public String getFriendlyType()
getFriendlyType
in interface org.broadleafcommerce.common.BroadleafEnumerationType
Copyright © 2020. All rights reserved.