Click or drag to resize
VolumeDiscountInfoProviderGetVolumeDiscountInfo 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: 12.0.0
Syntax
C#
public static VolumeDiscountInfo GetVolumeDiscountInfo(
	int skuId,
	int units
)

Parameters

skuId
Type: SystemInt32
SKU id
units
Type: SystemInt32
SKU units

Return Value

Type: VolumeDiscountInfo
See Also