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: 13.0.131
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