Click or drag to resize
VolumeDiscountInfoProvider.GetVolumeDiscountInfo Method (Int32, Int32)
Returns corresponding VolumeDiscountInfo structure for the specified SKU and SKU units, if no volume discount found returns null.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
public static VolumeDiscountInfo GetVolumeDiscountInfo(
	int skuId,
	int units
)

Parameters

skuId
Type: System.Int32
SKU id
units
Type: System.Int32
SKU units

Return Value

Type: VolumeDiscountInfo
See Also