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