Class InventoryExtensions
Inheritance
Inherited Members
Namespace: Mediachase.Commerce.Inventory
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0Syntax
public static class InventoryExtensions
Methods
CanBackorder(IWarehouseInventory, DateTime)
Determines whether the specified inventory of an entry is available for backorder.
Declaration
[Obsolete("Use overload with InventoryRecord. Will remain at least until October 2017.")]
public static bool CanBackorder(this IWarehouseInventory warehouseInventory, DateTime requestDate)
Parameters
Type | Name | Description |
---|---|---|
IWarehouseInventory | warehouseInventory | The warehouse inventory. |
System.DateTime | requestDate | The request date. |
Returns
Type | Description |
---|---|
System.Boolean |
|
CanBackorder(InventoryRecord, DateTime)
Determines whether the specified inventory of an entry is available for backorder.
Declaration
public static bool CanBackorder(this InventoryRecord inventoryRecord, DateTime requestDate)
Parameters
Type | Name | Description |
---|---|---|
InventoryRecord | inventoryRecord | The warehouse inventory. |
System.DateTime | requestDate | The request date. |
Returns
Type | Description |
---|---|
System.Boolean |
|
CanPreorder(IWarehouseInventory, DateTime)
Determines whether the specified inventory of a catalog entry is available for preorder.
Declaration
[Obsolete("Use overload with InventoryRecord. Will remain at least until October 2017.")]
public static bool CanPreorder(this IWarehouseInventory warehouseInventory, DateTime requestDate)
Parameters
Type | Name | Description |
---|---|---|
IWarehouseInventory | warehouseInventory | The warehouse inventory. |
System.DateTime | requestDate | The request date. |
Returns
Type | Description |
---|---|
System.Boolean |
|
CanPreorder(InventoryRecord, DateTime)
Determines whether the specified inventory of a catalog entry is available for preorder.
Declaration
public static bool CanPreorder(this InventoryRecord inventoryRecord, DateTime requestDate)
Parameters
Type | Name | Description |
---|---|---|
InventoryRecord | inventoryRecord | The warehouse inventory. |
System.DateTime | requestDate | The request date. |
Returns
Type | Description |
---|---|
System.Boolean |
|