Click or drag to resize
TaxClassInfoProviderGetTaxClassInfo Method (String, String)

Note: This API is now obsolete.

Returns a tax class with the specified code name on the specified site.

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

Parameters

className
Type: SystemString
Code name of the tax class.
siteName
Type: SystemString
Name of the site with the tax class.

Return Value

Type: TaxClassInfo
Tax class object with the name.
See Also