Click or drag to resize
ICountryStateTaxRateSourceGetRate Method
Returns a tax rate (0..1) for the specified tax class, country and state.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
decimal GetRate(
	int taxClassId,
	int countryId,
	int stateId
)

Parameters

taxClassId
Type: SystemInt32
An ID of the tax class.
countryId
Type: SystemInt32
An ID of the country.
stateId
Type: SystemInt32
An ID of the state. Use 0 when unknown or not applicable.

Return Value

Type: Decimal
See Also