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
Id
Gets the tax settings id.
public int Id { get; }
Property Value
IsNew
Gets value indicating whether settings instance is new.
public bool IsNew { get; }
Property Value
Name
Gets or sets the tax settings name.
public string Name { get; set; }
Property Value
TaxProvider
Gets or sets the tax provider.
public TaxProvider TaxProvider { get; set; }
Property Value
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
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
GetAllTaxSettings()
Gets all TaxSettings.
[Obsolete("Use Services.Taxes.GetAllTaxSettings() instead")]
public static TaxSettingCollection GetAllTaxSettings()
Returns
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
Save()
Saves this settings instance.
[Obsolete("Use Services.Taxes.Save(TaxSetting) instead")]
public void Save()