Class PricingLoader
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.0Syntax
public class PricingLoader : EntryLoaderBase
Constructors
PricingLoader(IContentLoader, IPriceDetailService, ReferenceConverter, ICatalogSystem)
Declaration
public PricingLoader(IContentLoader contentLoader, IPriceDetailService priceService, ReferenceConverter referenceConverter, ICatalogSystem catalogSystem)
Parameters
| Type | Name | Description |
|---|---|---|
| EPiServer.IContentLoader | contentLoader | |
| IPriceDetailService | priceService | |
| ReferenceConverter | referenceConverter | |
| ICatalogSystem | catalogSystem |
Methods
GetPrice(Int64)
Declaration
public PriceDetail GetPrice(long priceId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | priceId |
Returns
| Type | Description |
|---|---|
| PriceDetail |
GetPrices(ContentReference, MarketId, CustomerPricing)
Declaration
public ItemCollection<PriceDetail> GetPrices(ContentReference contentLink, MarketId marketId, CustomerPricing customerPricing)
Parameters
| Type | Name | Description |
|---|---|---|
| EPiServer.Core.ContentReference | contentLink | |
| MarketId | marketId | |
| CustomerPricing | customerPricing |
Returns
| Type | Description |
|---|---|
| ItemCollection<PriceDetail> |
GetPrices(ContentReference, MarketId, CustomerPricing, Int32, Int32, out Int32)
Declaration
public ItemCollection<PriceDetail> GetPrices(ContentReference contentLink, MarketId marketId, CustomerPricing customerPricing, int startIndex, int numberOfRecord, out int total)
Parameters
| Type | Name | Description |
|---|---|---|
| EPiServer.Core.ContentReference | contentLink | |
| MarketId | marketId | |
| CustomerPricing | customerPricing | |
| System.Int32 | startIndex | |
| System.Int32 | numberOfRecord | |
| System.Int32 | total |
Returns
| Type | Description |
|---|---|
| ItemCollection<PriceDetail> |