Filters given discounts and leaves only those which conditions and min amounts are met.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- discounts
- Type: System.Collections.Generic IEnumerable IConditionalDiscount
Conditional discounts to be filtered.
- priceLimit (Optional)
- Type: System Double
Only discounts with lower minimal amount than priceLimit will be left. Parameter is ignored when set negative.
Return Value
Type: IEnumerable IConditionalDiscountSee Also