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: 12.17.2Syntax
public class PricingCommitter
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 |