Click or drag to resize
VolumeDiscountInfoProviderGetVolumeDiscountInfo Method (Int32)

Note: This API is now obsolete.

Returns volume discount with specified ID.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IVolumeDiscountInfoProvider.Get(int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - VolumeDiscountInfo.Provider.")]
public static VolumeDiscountInfo GetVolumeDiscountInfo(
	int discountId
)

Parameters

discountId
Type: SystemInt32
Volume discount ID

Return Value

Type: VolumeDiscountInfo
See Also