Kentico 11 API Reference
Kentico 11 API Reference
Namespaces
CMS.Ecommerce Namespaces
CMS.Ecommerce
IVolumeDiscountSource Interface
IVolumeDiscountSource Methods
GetDiscount Method
IVolumeDiscountSource
GetDiscount Method
Returns product volume discount applicable to the specified
sku
when purchased in given
quantity
.
Namespace:
CMS.Ecommerce
Assembly:
CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
Copy
VolumeDiscountInfo
GetDiscount
(
SKUInfo
sku
,
decimal
quantity
)
Parameters
sku
Type:
CMS.Ecommerce
SKUInfo
The product to get volume discount for.
quantity
Type:
System
Decimal
The amount of the
sku
.
Return Value
Type:
VolumeDiscountInfo
See Also
Reference
IVolumeDiscountSource Interface
CMS.Ecommerce Namespace
Copyright (c) 2017 Kentico Software
Send comments on this topic to
support@kentico.com