Class ReadOnlyPricingLoader
Inheritance
System.Object
ReadOnlyPricingLoader
Assembly: EPiServer.Commerce.Shell.dll
Version: 14.26.0
Syntax
public class ReadOnlyPricingLoader : EntryLoaderBase
Constructors
ReadOnlyPricingLoader(IContentLoader, IPriceService, ReferenceConverter, ICatalogSystem, ICurrentMarket, CustomerContext, IPrincipalAccessor)
Declaration
public ReadOnlyPricingLoader(IContentLoader contentLoader, IPriceService priceService, ReferenceConverter referenceConverter, ICatalogSystem catalogSystem, ICurrentMarket currentMarketService, CustomerContext customerContext, IPrincipalAccessor principalAccessor)
Parameters
Methods
GetCustomerPrices(ContentReference)
Declaration
public virtual ItemCollection<Price> GetCustomerPrices(ContentReference contentLink)
Parameters
| Type |
Name |
Description |
| EPiServer.Core.ContentReference |
contentLink |
|
Returns
GetCustomerPrices(ContentReference, Currency, Nullable<Decimal>, Nullable<Boolean>)
Declaration
public virtual ItemCollection<Price> GetCustomerPrices(ContentReference contentLink, Currency currency, Nullable<Decimal> quantity, Nullable<bool> returnCustomerPricing)
Parameters
| Type |
Name |
Description |
| EPiServer.Core.ContentReference |
contentLink |
|
| Currency |
currency |
|
| System.Nullable<System.Decimal> |
quantity |
|
| System.Nullable<System.Boolean> |
returnCustomerPricing |
|
Returns
GetDefaultPrice(ContentReference)
Declaration
public Price GetDefaultPrice(ContentReference contentLink)
Parameters
| Type |
Name |
Description |
| EPiServer.Core.ContentReference |
contentLink |
|
Returns
GetDefaultPrice(ContentReference, Currency)
Declaration
public virtual Price GetDefaultPrice(ContentReference contentLink, Currency currency)
Parameters
| Type |
Name |
Description |
| EPiServer.Core.ContentReference |
contentLink |
|
| Currency |
currency |
|
Returns
GetDefaultPrice(ContentReference, Currency, DateTime)
Declaration
public virtual Price GetDefaultPrice(ContentReference contentLink, Currency currency, DateTime validOn)
Parameters
| Type |
Name |
Description |
| EPiServer.Core.ContentReference |
contentLink |
|
| Currency |
currency |
|
| System.DateTime |
validOn |
|
Returns
GetDefaultPrice(ContentReference, MarketId, Currency, DateTime)
Declaration
public virtual Price GetDefaultPrice(ContentReference contentLink, MarketId marketId, Currency currency, DateTime validOn)
Parameters
| Type |
Name |
Description |
| EPiServer.Core.ContentReference |
contentLink |
|
| MarketId |
marketId |
|
| Currency |
currency |
|
| System.DateTime |
validOn |
|
Returns
GetDefaultPrice(ContentReference, DateTime)
Declaration
public virtual Price GetDefaultPrice(ContentReference contentLink, DateTime validOn)
Parameters
| Type |
Name |
Description |
| EPiServer.Core.ContentReference |
contentLink |
|
| System.DateTime |
validOn |
|
Returns
GetPrices(ContentReference, MarketId, CustomerPricing)
Declaration
public ItemCollection<Price> GetPrices(ContentReference contentLink, MarketId marketId, CustomerPricing customerPricing)
Parameters
| Type |
Name |
Description |
| EPiServer.Core.ContentReference |
contentLink |
|
| MarketId |
marketId |
|
| CustomerPricing |
customerPricing |
|
Returns
GetPrices(ContentReference, MarketId, IEnumerable<CustomerPricing>)
Declaration
public virtual ItemCollection<Price> GetPrices(ContentReference contentLink, MarketId marketId, IEnumerable<CustomerPricing> customerPricings)
Parameters
| Type |
Name |
Description |
| EPiServer.Core.ContentReference |
contentLink |
|
| MarketId |
marketId |
|
| System.Collections.Generic.IEnumerable<CustomerPricing> |
customerPricings |
|
Returns
GetPrices(IEnumerable<EntryContentBase>, MarketId, PriceFilter)
Declaration
public virtual ItemCollection<Price> GetPrices(IEnumerable<EntryContentBase> entryContents, MarketId marketId, PriceFilter priceFilter)
Parameters
Returns
GetPrices(IEnumerable<EntryContentBase>, MarketId, IEnumerable<CustomerPricing>)
Declaration
public virtual ItemCollection<Price> GetPrices(IEnumerable<EntryContentBase> entryContents, MarketId marketId, IEnumerable<CustomerPricing> customerPricings)
Parameters
Returns