ICountryStateTaxRateSourceGetRate Method |
Returns a tax rate (0..1) for the specified tax class, country and state.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax 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:
DecimalSee Also