Click or drag to resize
TaxAddressService Class
Represents a service providing an address for the tax calculation based on e-commerce module settings.
Inheritance Hierarchy
SystemObject
  CMS.EcommerceTaxAddressService

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

The TaxAddressService type exposes the following members.

Constructors
  NameDescription
Public methodTaxAddressService
Initializes a new instance of the TaxAddressService reflecting settings of the specified site.
Top
Properties
  NameDescription
Protected propertySiteID
ID of the site for which this instance was created.
Protected propertySitePrefersShippingAddress
Indicates whether a shipping address is preferred on the site for which this instance was created.
Top
Methods
  NameDescription
Protected methodCreateAddress
Creates a new address according to the given parameters.
Protected methodGetDefaultAddress
Returns the default address or null when can not be determined.
Public methodGetTaxAddress
Returns an address which should be used for the tax calculation.
Top
See Also