Click or drag to resize
TaxClassStateInfoProviderSetStateTaxValue Method

Note: This API is now obsolete.

Sets tax value defined for specified state.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use ITaxClassStateInfoProvider.Add(int, int, decimal) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - TaxClassStateInfo.Provider.")]
public static void SetStateTaxValue(
	int taxClassId,
	int stateId,
	decimal value
)

Parameters

taxClassId
Type: SystemInt32
Tax class ID
stateId
Type: SystemInt32
Country ID
value
Type: SystemDecimal
Tax rate
See Also