Table of Contents

Class TaxSetting

Namespace
Dynamicweb.Ecommerce.Products.Taxes
Assembly
Dynamicweb.Ecommerce.dll
The class TaxSetting represents Tax settings.
public class TaxSetting
Inheritance
TaxSetting
Inherited Members

Properties

Active

Gets value indicating whether settings instance is active.
public bool Active { get; set; }

Property Value

bool

Id

Gets the tax settings id.
public int Id { get; }

Property Value

int

IsNew

Gets value indicating whether settings instance is new.
public bool IsNew { get; }

Property Value

bool

Name

Gets or sets the tax settings name.
public string Name { get; set; }

Property Value

string

TaxProvider

Gets or sets the tax provider.
public TaxProvider TaxProvider { get; set; }

Property Value

TaxProvider

Methods

ClearCache()

Clears the cache.
[Obsolete("Use Services.Taxes.ClearCache() instead")]
public static void ClearCache()

Delete()

Deletes this instance.
[Obsolete("Use Services.Taxes.Delete(Integer) instead")]
public void Delete()

GetActiveTaxSettings()

Gets all active TaxSettings. Limited by the relations to the current Country.
[Obsolete("Use Services.Taxes.GetActiveTaxSettings(Order) instead")]
public static TaxSettingCollection GetActiveTaxSettings()

Returns

TaxSettingCollection

GetActiveTaxSettings(Order)

Gets active TaxSettings for an order.
[Obsolete("Use Services.Taxes.GetActiveTaxSettings(Order) instead")]
public static TaxSettingCollection GetActiveTaxSettings(Order order)

Parameters

order Order
The order.

Returns

TaxSettingCollection

GetAllTaxSettings()

Gets all TaxSettings.
[Obsolete("Use Services.Taxes.GetAllTaxSettings() instead")]
public static TaxSettingCollection GetAllTaxSettings()

Returns

TaxSettingCollection

GetTaxSettingById(int)

Gets the TaxSetting by ID.
[Obsolete("Use Services.Taxes.GetTaxSettingById(Integer) instead")]
public static TaxSetting GetTaxSettingById(int settingsId)

Parameters

settingsId int
The ID.

Returns

TaxSetting

Save()

Saves this settings instance.
[Obsolete("Use Services.Taxes.Save(TaxSetting) instead")]
public void Save()
To top