Class PricingCommitter

Inheritance
System.Object
PricingCommitter
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.Catalog
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0
Syntax
public class PricingCommitter

Constructors

PricingCommitter(IPriceDetailService)

Creates an instance of PricingCommitter.

Declaration
[Obsolete("Use constructor with IMarketService. Will remain at least until December 2016.")]
public PricingCommitter(IPriceDetailService priceDetailService)
Parameters
Type Name Description
IPriceDetailService priceDetailService

IPriceDetailService instance.

PricingCommitter(IPriceDetailService, IMarketService)

Creates an instance of PricingCommitter.

Declaration
public PricingCommitter(IPriceDetailService priceDetailService, IMarketService marketService)
Parameters
Type Name Description
IPriceDetailService priceDetailService

IPriceDetailService instance.

IMarketService marketService

IMarketService instance.

Methods

DeletePrice(Int64)

Deletes the price.

Declaration
public bool DeletePrice(long priceValueId)
Parameters
Type Name Description
System.Int64 priceValueId

The price value id to delete.

Returns
Type Description
System.Boolean

SavePrice(PriceDetail)

Saves the price.

Declaration
public IPriceDetailValue SavePrice(PriceDetail priceDetail)
Parameters
Type Name Description
PriceDetail priceDetail

The price value to save.

Returns
Type Description
IPriceDetailValue

The saved price