Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS 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: 12.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) 2019 Kentico Software
Send comments on this topic to
support@kentico.com