Click or drag to resize
ProductDiscountService Constructor
Creates a new instance of ProductDiscountService using the specified discount source and discount applicator.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
public ProductDiscountService(
	IProductDiscountSource discountSource,
	IDiscountApplicator applicator
)

Parameters

discountSource
Type: CMS.EcommerceIProductDiscountSource
The source of the discounts.
applicator
Type: CMS.EcommerceIDiscountApplicator
IDiscountApplicator item discount applicator service for discounts application.
See Also