Class InventoryStatus

Represents inventory status.

Inheritance
System.Object
InventoryStatus
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Catalog
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class InventoryStatus

Constructors

InventoryStatus()

Declaration
public InventoryStatus()

Fields

Disabled

When the Inventory Status is "Disabled", it behaves as if the store is selling digital goods. Any amount can be sold, the requested quantities are updated, but the available counts do not change.

Declaration
public const int Disabled = 0
Field Value
Type Description
System.Int32

Enabled

When the Inventory Status is "Enabled", it behaves as if we are tracking the inventory of physical goods, which is a limited amount that can be sold. Stock will be required to be available to process orders, and available counts will be decremented as orders are processed.

Declaration
public const int Enabled = 1
Field Value
Type Description
System.Int32

Ignored

Declaration
[Obsolete("This const is no longer used, it will make the inventory system is easier to use. Use 'Disabled' instead. This const will be removed in version 10.")]
public const int Ignored = 2
Field Value
Type Description
System.Int32