Click or drag to resize
MultiBuyDiscountCalculateDiscount Method
Calculates the discount value for given basePrice.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
public decimal CalculateDiscount(
	decimal basePrice
)

Parameters

basePrice
Type: SystemDecimal
The price to calculate discount from.

Return Value

Type: Decimal
Rounded discount value.

Implements

IDiscountCalculateDiscount(Decimal)
See Also