Try our conversational search powered by Generative AI!

Class PriceServiceExtension

This type/member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Inheritance
System.Object
PriceServiceExtension
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: Mediachase.Commerce.Pricing
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
public static class PriceServiceExtension

Methods

ReplicatePriceDetailChangesIfNotReadOnly(IPriceService, IEnumerable<CatalogKey>, IEnumerable<IPriceValue>)

This type/member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public static void ReplicatePriceDetailChangesIfNotReadOnly(this IPriceService priceService, IEnumerable<CatalogKey> catalogKeys, IEnumerable<IPriceValue> priceValues)
Parameters
Type Name Description
IPriceService priceService
System.Collections.Generic.IEnumerable<CatalogKey> catalogKeys

catalog entries to set prices for.

System.Collections.Generic.IEnumerable<IPriceValue> priceValues

The complete set of price values for all catalog entries referenced in catalogKeys.

Exceptions
Type Condition
System.InvalidOperationException

The IPriceDetailService is read only.

SetCatalogEntryPricesIfNotReadOnly(IPriceService, CatalogKey, IEnumerable<IPriceValue>)

This type/member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public static void SetCatalogEntryPricesIfNotReadOnly(this IPriceService priceService, CatalogKey catalogKey, IEnumerable<IPriceValue> priceValues)
Parameters
Type Name Description
IPriceService priceService
CatalogKey catalogKey

The catalog entry to set prices for.

System.Collections.Generic.IEnumerable<IPriceValue> priceValues

The complete set of price values for the catalog entry.

Exceptions
Type Condition
System.InvalidOperationException

The IPriceDetailService is read only.

SetCatalogEntryPricesIfNotReadOnly(IPriceService, IEnumerable<CatalogKey>, IEnumerable<IPriceValue>)

This type/member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public static void SetCatalogEntryPricesIfNotReadOnly(this IPriceService priceService, IEnumerable<CatalogKey> catalogKeys, IEnumerable<IPriceValue> priceValues)
Parameters
Type Name Description
IPriceService priceService
System.Collections.Generic.IEnumerable<CatalogKey> catalogKeys

The catalog entries to set prices for.

System.Collections.Generic.IEnumerable<IPriceValue> priceValues

The complete set of price values for all catalog entries referenced in catalogKeys.

Exceptions
Type Condition
System.InvalidOperationException

The IPriceDetailService is read only.