Class InventoryLoader
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: EPiServer.Commerce.Shell.Catalog
Assembly: EPiServer.Commerce.Shell.dll
Version: 13.30.0Syntax
public class InventoryLoader : EntryLoaderBase
Constructors
InventoryLoader(IInventoryService, ReferenceConverter, ICatalogSystem, IContentLoader)
Declaration
public InventoryLoader(IInventoryService inventoryService, ReferenceConverter referenceConverter, ICatalogSystem catalogSystem, IContentLoader contentLoader)
Parameters
| Type | Name | Description |
|---|---|---|
| IInventoryService | inventoryService | |
| ReferenceConverter | referenceConverter | |
| ICatalogSystem | catalogSystem | |
| EPiServer.IContentLoader | contentLoader |
Methods
GetStockPlacements(ContentReference)
Declaration
public ItemCollection<Inventory> GetStockPlacements(ContentReference contentLink)
Parameters
| Type | Name | Description |
|---|---|---|
| EPiServer.Core.ContentReference | contentLink |
Returns
| Type | Description |
|---|---|
| ItemCollection<Inventory> |
GetStockPlacements(ContentReference, Boolean)
Declaration
public ItemCollection<Inventory> GetStockPlacements(ContentReference contentLink, bool includeEmptyWarehouses)
Parameters
| Type | Name | Description |
|---|---|---|
| EPiServer.Core.ContentReference | contentLink | |
| System.Boolean | includeEmptyWarehouses |
Returns
| Type | Description |
|---|---|
| ItemCollection<Inventory> |
GetStockPlacements(ContentReference, Int32, Int32, out Int32)
Declaration
public ItemCollection<Inventory> GetStockPlacements(ContentReference contentLink, int startIndex, int numberOfRecord, out int total)
Parameters
| Type | Name | Description |
|---|---|---|
| EPiServer.Core.ContentReference | contentLink | |
| System.Int32 | startIndex | |
| System.Int32 | numberOfRecord | |
| System.Int32 | total |
Returns
| Type | Description |
|---|---|
| ItemCollection<Inventory> |