Progress Sitefinity CMS Documentation
Select a site
Sitefinity 10.2
Sitefinity 10.1
Sitefinity 10.0
Sitefinity 9.2
Sitefinity 9.1
Sitefinity 9.0
Sitefinity 8.2
Sitefinity 8.1
Sitefinity 8.0
Sitefinity 7.3
Sitefinity 7.2
API reference
Best practices
Knowledge base
Progress Sitefinity Digital Experience Cloud
Sitefinity.com
Ecommerce
Build a webshop
Install, upgrade, and deploy
Pages
Widgets
Modules
Content
Development
Administration
Utilities and services
Multilingual
Mobile and responsive
Multisite
Marketing
Ecommerce
Sitefinity Thunder
Best practices
Reference
Search
Sitefinity documentation
/
Ecommerce: Build a webshop
/
Overview: Taxes and tax classes
/
For developers: Tax classes
/
For developers: Create tax classes
For developers: Create tax classes
To create a department, you must perform the following:
Get the orders manager.
Get an instance of the
OrdersManager
object.
Create a new tax class.
To create a new tax class, call the
CreateTaxclass
method of the manager.
Set the properties of the
TaxClass
object.
In this example the following properties are set:
Title
Gets or sets the display name of the department.
IsActive
Indicates whether the tax class is active.
Save the changes.
To save the changes, call the
SaveChanges
method of the manager.
Use the following code sample:
Back To Top
Next:
For developers: Query tax classes
Was this article helpful?
Yes
No
Would you like to submit additional feedback?
Your feedback about this content is important
How helpful is this article?
Very helpful
Somewhat helpful
Not helpful
How can we improve this article?
(Optional)
Fix typos or links
Fix incorrect information
Add or update code samples
Add or update illustrations
Add information about...
Send additional feedback
No thanks, don't send additional feedback
Thank you for submitting your feedback!