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: 13.0.131
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