Click or drag to resize
IProductDiscountSource.GetDiscounts Method
Returns groups of discounts for specified sku.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
IEnumerable<DiscountCollection> GetDiscounts(
	SKUInfo sku,
	decimal standardPrice,
	PriceParameters priceParams
)

Parameters

sku
Type: CMS.Ecommerce.SKUInfo
The SKU object.
standardPrice
Type: System.Decimal
The price of the sku
priceParams
Type: CMS.Ecommerce.PriceParameters
Other parameters.

Return Value

Type: IEnumerable<DiscountCollection>
See Also