Class WarehouseInventory

Represents the catalog inventory objects. Supercedes the obsolete class in the Mediachase.Commerce.Catalog.Objects namespace

Inheritance
System.Object
WarehouseInventory
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Inventory
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
[Obsolete("Use Mediachase.Commerce.InventoryService.InventoryRecord instead. Will remain until at least October 2017.")]
public class WarehouseInventory : IWarehouseInventory

Constructors

WarehouseInventory()

Declaration
public WarehouseInventory()

WarehouseInventory(IWarehouseInventory)

Declaration
public WarehouseInventory(IWarehouseInventory copyFrom)
Parameters
Type Name Description
IWarehouseInventory copyFrom

Properties

AllowBackorder

Represents whether to allow backorders.

Declaration
public bool AllowBackorder { get; set; }
Property Value
Type Description
System.Boolean

AllowPreorder

Represents whether to allow pre-orders.

Declaration
public bool AllowPreorder { get; set; }
Property Value
Type Description
System.Boolean

BackorderAvailabilityDate

Represents the availability date for the inventory's backorders.

Declaration
public DateTime? BackorderAvailabilityDate { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

BackorderQuantity

Represents the inventory's backorder quantity.

Declaration
public decimal BackorderQuantity { get; set; }
Property Value
Type Description
System.Decimal

CatalogKey

Gets the catalog entry key.

Declaration
public CatalogKey CatalogKey { get; set; }
Property Value
Type Description
CatalogKey

The catalog entry key.

InStockQuantity

Represents the inventory's in-stock quantity.

Declaration
public decimal InStockQuantity { get; set; }
Property Value
Type Description
System.Decimal

InventoryStatus

Indicates whether or not current inventory amount is used in determining if an order can be completed.

Declaration
public InventoryTrackingStatus InventoryStatus { get; set; }
Property Value
Type Description
InventoryTrackingStatus

PreorderAvailabilityDate

Represents the availability date for the inventory's pre-orders.

Declaration
public DateTime? PreorderAvailabilityDate { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

PreorderQuantity

Represents the inventory's pre-order quantity.

Declaration
public decimal PreorderQuantity { get; set; }
Property Value
Type Description
System.Decimal

ReorderMinQuantity

Represents the inventory's minimum re-order quantity.

Declaration
public decimal ReorderMinQuantity { get; set; }
Property Value
Type Description
System.Decimal

ReservedQuantity

Represents the inventory's reserved quantity.

Declaration
public decimal ReservedQuantity { get; set; }
Property Value
Type Description
System.Decimal

WarehouseCode

Represents the unique warehouse code.

Declaration
public string WarehouseCode { get; set; }
Property Value
Type Description
System.String

Methods

Equals(WarehouseInventory)

Declaration
protected bool Equals(WarehouseInventory other)
Parameters
Type Name Description
WarehouseInventory other
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.Object.Equals(System.Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.Object.GetHashCode()

Implements

Extension Methods