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

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

Parameters

sku
Type: CMS.EcommerceSKUInfo
The SKU object.
standardPrice
Type: SystemDecimal
The price of the sku
priceParams
Type: CMS.EcommercePriceParameters
Other parameters.

Return Value

Type: IEnumerableDiscountCollection
See Also