Class InventoryType
java.lang.Object
org.broadleafcommerce.core.inventory.service.type.InventoryType
- All Implemented Interfaces:
Serializable,org.broadleafcommerce.common.BroadleafEnumerationType
public class InventoryType
extends Object
implements Serializable, org.broadleafcommerce.common.BroadleafEnumerationType
Enumeration to specify whether inventory should be checked or not.
- Author:
- Kelly Tisdell
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final InventoryTypestatic final InventoryTypestatic final InventoryType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic InventoryTypegetInstance(String type) getType()inthashCode()protected void
-
Field Details
-
ALWAYS_AVAILABLE
-
UNAVAILABLE
-
CHECK_QUANTITY
-
-
Constructor Details
-
InventoryType
public InventoryType() -
InventoryType
-
-
Method Details
-
getInstance
-
getType
- Specified by:
getTypein interfaceorg.broadleafcommerce.common.BroadleafEnumerationType
-
setType
-
getFriendlyType
- Specified by:
getFriendlyTypein interfaceorg.broadleafcommerce.common.BroadleafEnumerationType
-
hashCode
public int hashCode() -
equals
-