With Opticon around the corner, we'll be canceling this month's (Sept) Happy Hour.

Class InventoryStore

Inheritance
System.Object
InventoryStore
Namespace: EPiServer.Commerce.Shell.Rest
Assembly: EPiServer.Commerce.Shell.dll
Version: 13.30.0
Syntax
public class InventoryStore : RestStoreBase<Inventory>

Constructors

InventoryStore(InventoryLoader, RestStoreHelper, IInventoryService, IQueryProvider<Inventory>)

Declaration
public InventoryStore(InventoryLoader inventoryLoader, RestStoreHelper restStoreHelper, IInventoryService inventoryService, IQueryProvider<Inventory> queryProvider)
Parameters
Type Name Description
InventoryLoader inventoryLoader
RestStoreHelper restStoreHelper
IInventoryService inventoryService
EPiServer.Shell.Rest.IQueryProvider<Inventory> queryProvider

Properties

QueryName

Declaration
protected override string QueryName { get; }
Property Value
Type Description
System.String
Overrides
EPiServer.Commerce.Shell.Rest.RestStoreBase<EPiServer.Commerce.SpecializedProperties.Inventory>.QueryName

Methods

Delete(String)

Declaration
public RestResultBase Delete(string id)
Parameters
Type Name Description
System.String id
Returns
Type Description
EPiServer.Shell.Services.Rest.RestResultBase

Get(ContentReference, String, ItemRange, Boolean)

Declaration
public RestResultBase Get(ContentReference referenceId, string query, ItemRange range, bool includeEmptyWarehouses = false)
Parameters
Type Name Description
EPiServer.Core.ContentReference referenceId
System.String query
EPiServer.Shell.Services.Rest.ItemRange range
System.Boolean includeEmptyWarehouses
Returns
Type Description
EPiServer.Shell.Services.Rest.RestResultBase

Post(InventoryRecordModel)

Declaration
public RestResultBase Post(InventoryRecordModel entity)
Parameters
Type Name Description
InventoryRecordModel entity
Returns
Type Description
EPiServer.Shell.Services.Rest.RestResultBase

Put(InventoryRecordModel)

Declaration
public RestResultBase Put(InventoryRecordModel entity)
Parameters
Type Name Description
InventoryRecordModel entity
Returns
Type Description
EPiServer.Shell.Services.Rest.RestResultBase