The taxes allow you to define rates for the available tax classes for a specific country.
The taxes classes are represented by the Telerik.Sitefinity.Ecommerce.Orders.Model.Tax class. The class exposes the following specific properties:
Gets or sets the unique ID of the tax.
Gets or sets the display name of the tax.
Gets or sets the country that the tax is related to. For more information about the countries, see the Available countries section in this article.
Gets or sets the type of the address the tax can be applied to.Its value can be either AddressType.Shipping or AddresType.Billing.
Gets or sets the tax rate for the tax.
Represents a JSON string of a list containing the available tax classes and their rates.
Returns the list of tax classes and their rates for the current tax. The value is deserialized from the TaxRates property.
Gets the rate for the standard rate in the TaxRateCollection.
Specifies whether to display the tax in prices.
Specifies whether to apply the tax to shipping.
The countries that you can use in your Ecommerce are defined through the Ecommerce settings. In the backend, go to the Ecommerce/Configuration. Click Currency and location and then click on Countries. Here you can see the list of defined countries. The countiry of a tax is set through its Country property. For a value use the IsoCode of the country.
This section explains how to manage tax classes through Native API. It contains the following: