Click or drag to resize
TaxClassServiceGetTaxClass Method (SKUInfo)
Gets a tax class to which the product belongs.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
public TaxClassInfo GetTaxClass(
	SKUInfo product
)

Parameters

product
Type: CMS.EcommerceSKUInfo
A product, product variant or product accessory.

Return Value

Type: TaxClassInfo
TaxClassInfo for specified product or null when not found.

Implements

ITaxClassServiceGetTaxClass(SKUInfo)
Remarks
SKUTaxClassID property is used as product/accessory tax class identifier. The same property of the parent product is used for product variants.
See Also