Click or drag to resize
MultiBuyDiscountInfoProviderGetMultiBuyDiscountInfo Method (String, SiteInfoIdentifier)

Note: This API is now obsolete.

Returns MultiBuyDiscountInfo with specified name.

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

Parameters

name
Type: SystemString
MultiBuyDiscountInfo name
siteIdentifier
Type: CMS.DataEngineSiteInfoIdentifier
Site identifier (site ID or site name)

Return Value

Type: MultiBuyDiscountInfo
See Also