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 PricingCommitter

Inheritance
System.Object
PricingCommitter
Namespace: EPiServer.Commerce.Catalog
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
Syntax
public class PricingCommitter : Object

Constructors

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