IDiscountApplicatorApplyDiscounts Method |
Returns the application summary of the discountGroups when applied on the specified price.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax ValuesSummary ApplyDiscounts(
decimal price,
IEnumerable<DiscountCollection> discountGroups
)
Parameters
- price
- Type: SystemDecimal
Base price to apply discounts on. - discountGroups
- Type: System.Collections.GenericIEnumerableDiscountCollection
Groups of discounts.
Return Value
Type:
ValuesSummaryRemarks
Implementation handles the strategy of applying the multiple discounts.
See Also