Click or drag to resize
DefaultTaxEstimationService Class
Provides a tax estimation based on country and state. This is the default implementation of the ITaxEstimationService.
Inheritance Hierarchy
SystemObject
  CMS.EcommerceDefaultTaxEstimationService

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public class DefaultTaxEstimationService : ITaxEstimationService

The DefaultTaxEstimationService type exposes the following members.

Constructors
  NameDescription
Public methodDefaultTaxEstimationService
Initializes a new instance of the DefaultTaxEstimationService class with the specified tax rate source."/>
Top
Methods
  NameDescription
Public methodExtractTax
Calculates the tax part of the given price. The result is rounded.
Protected methodGetExtractionRate
Returns rate for tax extraction.
Public methodGetTax
Estimates the tax from the given price.
Protected methodRoundTax
Returns rounded value according to the specified currency.
Top
See Also