SaaS CMS has officially launched! Learn more now.

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: 11.8.3
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