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

Class PriceStore

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

Constructors

PriceStore(PricingLoader, PricingCommitter, IQueryProvider<Price>, IContentLoader, RestStoreHelper)

Declaration
public PriceStore(PricingLoader priceLoader, PricingCommitter pricingCommitter, IQueryProvider<Price> queryProvider, IContentLoader contentLoader, RestStoreHelper restStoreHelper)
Parameters
Type Name Description
PricingLoader priceLoader
PricingCommitter pricingCommitter
EPiServer.Shell.Rest.IQueryProvider<Price> queryProvider
EPiServer.IContentLoader contentLoader
RestStoreHelper restStoreHelper

Properties

QueryName

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

Methods

Delete(Int64)

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

Get(Nullable<Int64>, String, ContentReference, ItemRange)

Declaration
public RestResultBase Get(long? id, string query, ContentReference referenceId, ItemRange range)
Parameters
Type Name Description
System.Nullable<System.Int64> id
System.String query
EPiServer.Core.ContentReference referenceId
EPiServer.Shell.Services.Rest.ItemRange range
Returns
Type Description
EPiServer.Shell.Services.Rest.RestResultBase

Post(PriceModel)

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

Put(PriceModel)

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