Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class PricingExtensions

Inheritance
System.Object
PricingExtensions
Namespace: EPiServer.Commerce.Shell.Catalog
Assembly: EPiServer.Commerce.Shell.dll
Version: 14.26.0
Syntax
public static class PricingExtensions : Object

Methods

GetPrices(IPricing, ReadOnlyPricingLoader)

Declaration
public static ItemCollection<Price> GetPrices(this IPricing pricing, ReadOnlyPricingLoader pricingLoader)
Parameters
Type Name Description
IPricing pricing
ReadOnlyPricingLoader pricingLoader
Returns
Type Description
ItemCollection<Price>

GetPrices(IPricing, ReadOnlyPricingLoader, MarketId, CustomerPricing)

Declaration
public static ItemCollection<Price> GetPrices(this IPricing pricing, ReadOnlyPricingLoader pricingLoader, MarketId marketId, CustomerPricing customerPricing)
Parameters
Type Name Description
IPricing pricing
ReadOnlyPricingLoader pricingLoader
MarketId marketId
CustomerPricing customerPricing
Returns
Type Description
ItemCollection<Price>

GetPrices(IPricing, ReadOnlyPricingLoader, MarketId, IEnumerable<CustomerPricing>)

Declaration
public static ItemCollection<Price> GetPrices(this IPricing pricing, ReadOnlyPricingLoader pricingLoader, MarketId marketId, IEnumerable<CustomerPricing> customerPricings)
Parameters
Type Name Description
IPricing pricing
ReadOnlyPricingLoader pricingLoader
MarketId marketId
System.Collections.Generic.IEnumerable<CustomerPricing> customerPricings
Returns
Type Description
ItemCollection<Price>