DiscountCouponInfoProvider RecalculateDiscountCouponsInternal Method Kentico 8.0 API Reference
Recalculates coupons values using the given coefficient.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

coefficient
Type: OnlineSystem Single
Factor by which values are recalculated
roundTo
Type: OnlineSystem Int32
Number of significant digits the number should be rounded to
flatValues
Type: OnlineSystem Boolean
Indicates if flat values should be recalculated
relativeValues
Type: OnlineSystem Boolean
Indicates if relative values should be recalculated
where
Type: OnlineSystem String
Additional WHERE condition
siteId
Type: OnlineSystem Int32
ID of the site which records are to be recalculated
See Also