IVolumeDiscountSourceGetDiscount Method |
Returns product volume discount applicable to the specified sku when purchased in given quantity.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax VolumeDiscountInfo GetDiscount(
SKUInfo sku,
decimal quantity
)
Parameters
- sku
- Type: CMS.EcommerceSKUInfo
The product to get volume discount for. - quantity
- Type: SystemDecimal
The amount of the sku.
Return Value
Type:
VolumeDiscountInfoSee Also