Applies given discounts to specified price. Reflects discounts ordering. Discount value is calculated using discountCalculator function.
            
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- price
 - Type: 
System Double
Price to calculate discount from. 
- discounts
 - Type: 
System.Collections.Generic IEnumerable IItemDiscount 
Discounts to apply. 
- discountCalculator
 - Type: 
System Func 
Double, IItemDiscount, 
Double 
Function getting discount base price and discount object. Calculates resulting discount value. 
Return Value
Type:See Also