Click or drag to resize
ProductDiscountServiceGetProductDiscounts Method
Returns the discounts application summary for the given sku product.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public virtual ValuesSummary GetProductDiscounts(
	SKUInfo sku,
	decimal standardPrice,
	PriceParameters priceParams
)

Parameters

sku
Type: CMS.EcommerceSKUInfo
Product or product option.
standardPrice
Type: SystemDecimal
Input price for calculation.
priceParams
Type: CMS.EcommercePriceParameters
PriceParameters calculation parameters.

Return Value

Type: ValuesSummary
Instance of ProductPrices with calculation summary.

Implements

IProductDiscountServiceGetProductDiscounts(SKUInfo, Decimal, PriceParameters)
See Also