Kentico 11 API Reference
Kentico 11 API Reference
Namespaces
CMS.Ecommerce Namespaces
CMS.Ecommerce
MultiBuyDiscount Class
MultiBuyDiscount Methods
AcceptsCoupon Method
Apply Method
CalculateDiscount Method
GetMissingProducts Method
IsApplicableOn Method
IsBasedOn Method
PrioritizeItems Method
MultiBuyDiscount
CalculateDiscount Method
Calculates the discount value for given
basePrice
.
Namespace:
CMS.Ecommerce
Assembly:
CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
Copy
public
decimal
CalculateDiscount
(
decimal
basePrice
)
Parameters
basePrice
Type:
System
Decimal
The price to calculate discount from.
Return Value
Type:
Decimal
Rounded discount value.
Implements
IDiscount
CalculateDiscount(Decimal)
See Also
Reference
MultiBuyDiscount Class
CMS.Ecommerce Namespace
Copyright (c) 2017 Kentico Software
Send comments on this topic to
support@kentico.com