Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

TaxClass

API reference for TaxClass in Vendr, the eCommerce solution for Umbraco v8+

TaxClass

public class TaxClass : TaxClassReadOnly

Inheritance

Namespace

Methods

Create (1 of 2)

public static TaxClass Create(IUnitOfWork uow, Guid storeId, string alias, string name, 
    TaxRate defaultTaxRate)

Create (2 of 2)

public static TaxClass Create(IUnitOfWork uow, Guid id, Guid storeId, string alias, string name, 
    TaxRate defaultTaxRate)

ClearCountryTaxRate (1 of 2)

public TaxClass ClearCountryTaxRate(CountryReadOnly country)

ClearCountryTaxRate (2 of 2)

public TaxClass ClearCountryTaxRate(Guid countryId)

ClearDefaultTaxRate

public TaxClass ClearDefaultTaxRate()

ClearRegionTaxRate (1 of 2)

public TaxClass ClearRegionTaxRate(RegionReadOnly region)

ClearRegionTaxRate (2 of 2)

public TaxClass ClearRegionTaxRate(Guid countryId, Guid regionId)

ClearTaxRatesForCountry (1 of 2)

public TaxClass ClearTaxRatesForCountry(CountryReadOnly country)

ClearTaxRatesForCountry (2 of 2)

public TaxClass ClearTaxRatesForCountry(Guid countryId)

SetAlias

public TaxClass SetAlias(string alias)

SetCountryTaxRate (1 of 2)

public TaxClass SetCountryTaxRate(CountryReadOnly country, TaxRate taxRate)

SetCountryTaxRate (2 of 2)

public TaxClass SetCountryTaxRate(Guid countryId, TaxRate taxRate)

SetDefaultTaxRate

public TaxClass SetDefaultTaxRate(TaxRate taxRate)

SetName (1 of 2)

public TaxClass SetName(string name)

SetName (2 of 2)

public TaxClass SetName(string name, string alias)

SetRegionTaxRate (1 of 2)

public TaxClass SetRegionTaxRate(RegionReadOnly region, TaxRate taxRate)

SetRegionTaxRate (2 of 2)

public TaxClass SetRegionTaxRate(Guid countryId, Guid regionId, TaxRate taxRate)

SetSortOrder

public TaxClass SetSortOrder(int sortOrder)

Edit this page on GitHub

Site + logo design © 2025 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.