London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class ReadOnlyPricingLoader

Inheritance
System.Object
ReadOnlyPricingLoader
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.0
Syntax
public class ReadOnlyPricingLoader : EntryLoaderBase

Constructors

ReadOnlyPricingLoader(IContentLoader, IPriceService, ReferenceConverter, ICatalogSystem, ICurrentMarket, CustomerContext)

Declaration
public ReadOnlyPricingLoader(IContentLoader contentLoader, IPriceService priceService, ReferenceConverter referenceConverter, ICatalogSystem catalogSystem, ICurrentMarket currentMarketService, CustomerContext customerContext)
Parameters
Type Name Description
EPiServer.IContentLoader contentLoader
IPriceService priceService
ReferenceConverter referenceConverter
ICatalogSystem catalogSystem
ICurrentMarket currentMarketService
CustomerContext customerContext

Methods

GetCustomerPrices(ContentReference)

Declaration
public virtual ItemCollection<Price> GetCustomerPrices(ContentReference contentLink)
Parameters
Type Name Description
EPiServer.Core.ContentReference contentLink
Returns
Type Description
ItemCollection<Price>

GetCustomerPrices(ContentReference, Currency, Nullable<Decimal>, Nullable<Boolean>)

Declaration
public virtual ItemCollection<Price> GetCustomerPrices(ContentReference contentLink, Currency currency, decimal? quantity, bool? returnCustomerPricing)
Parameters
Type Name Description
EPiServer.Core.ContentReference contentLink
Currency currency
System.Nullable<System.Decimal> quantity
System.Nullable<System.Boolean> returnCustomerPricing
Returns
Type Description
ItemCollection<Price>

GetDefaultPrice(ContentReference)

Declaration
public Price GetDefaultPrice(ContentReference contentLink)
Parameters
Type Name Description
EPiServer.Core.ContentReference contentLink
Returns
Type Description
Price

GetDefaultPrice(ContentReference, Currency)

Declaration
public virtual Price GetDefaultPrice(ContentReference contentLink, Currency currency)
Parameters
Type Name Description
EPiServer.Core.ContentReference contentLink
Currency currency
Returns
Type Description
Price

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
Type Description
Price

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
Type Description
Price

GetDefaultPrice(ContentReference, DateTime)

Declaration
public virtual Price GetDefaultPrice(ContentReference contentLink, DateTime validOn)
Parameters
Type Name Description
EPiServer.Core.ContentReference contentLink
System.DateTime validOn
Returns
Type Description
Price

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
Type Description
ItemCollection<Price>

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
Type Description
ItemCollection<Price>

GetPrices(IEnumerable<EntryContentBase>, MarketId, PriceFilter)

Declaration
public virtual ItemCollection<Price> GetPrices(IEnumerable<EntryContentBase> entryContents, MarketId marketId, PriceFilter priceFilter)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<EntryContentBase> entryContents
MarketId marketId
PriceFilter priceFilter
Returns
Type Description
ItemCollection<Price>

GetPrices(IEnumerable<EntryContentBase>, MarketId, IEnumerable<CustomerPricing>)

Declaration
public virtual ItemCollection<Price> GetPrices(IEnumerable<EntryContentBase> entryContents, MarketId marketId, IEnumerable<CustomerPricing> customerPricings)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<EntryContentBase> entryContents
MarketId marketId
System.Collections.Generic.IEnumerable<CustomerPricing> customerPricings
Returns
Type Description
ItemCollection<Price>