Class WarehouseInventory
Represents the catalog inventory objects. Supercedes the obsolete class in the Mediachase.Commerce.Catalog.Objects namespace
Inheritance
System.Object
WarehouseInventory
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()
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
[Obsolete("Use Mediachase.Commerce.InventoryService.InventoryRecord instead. Will remain until at least October 2017.")]
public class WarehouseInventory : IWarehouseInventory
Constructors
Declaration
public WarehouseInventory()
Declaration
public WarehouseInventory(IWarehouseInventory copyFrom)
Parameters
Properties
Represents whether to allow backorders.
Declaration
public bool AllowBackorder { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Represents whether to allow pre-orders.
Declaration
public bool AllowPreorder { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Represents the availability date for the inventory's backorders.
Declaration
public DateTime? BackorderAvailabilityDate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
Represents the inventory's backorder quantity.
Declaration
public decimal BackorderQuantity { get; set; }
Property Value
Type |
Description |
System.Decimal |
|
Gets the catalog entry key.
Declaration
public CatalogKey CatalogKey { get; set; }
Property Value
Type |
Description |
CatalogKey |
The catalog entry key.
|
Represents the inventory's in-stock quantity.
Declaration
public decimal InStockQuantity { get; set; }
Property Value
Type |
Description |
System.Decimal |
|
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
Represents the availability date for the inventory's pre-orders.
Declaration
public DateTime? PreorderAvailabilityDate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
Represents the inventory's pre-order quantity.
Declaration
public decimal PreorderQuantity { get; set; }
Property Value
Type |
Description |
System.Decimal |
|
Represents the inventory's minimum re-order quantity.
Declaration
public decimal ReorderMinQuantity { get; set; }
Property Value
Type |
Description |
System.Decimal |
|
Represents the inventory's reserved quantity.
Declaration
public decimal ReservedQuantity { get; set; }
Property Value
Type |
Description |
System.Decimal |
|
Represents the unique warehouse code.
Declaration
public string WarehouseCode { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Declaration
protected bool Equals(WarehouseInventory other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
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)
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Implements
Extension Methods