Click or drag to resize
ITaxAddressServiceGetTaxAddress Method
Returns an address using which the tax should be calculated.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
IAddress GetTaxAddress(
	IAddress billingAddress,
	IAddress shippingAddress,
	TaxClassInfo taxClass,
	CustomerInfo customer
)

Parameters

billingAddress
Type: CMS.EcommerceIAddress
A billing address of taxed purchase.
shippingAddress
Type: CMS.EcommerceIAddress
A address where the goods are delivered.
taxClass
Type: CMS.EcommerceTaxClassInfo
A tax class to get address for.
customer
Type: CMS.EcommerceCustomerInfo
A customer making a taxed purchase.

Return Value

Type: IAddress
Remarks
Note that the result can be billingAddress, shippingAddress or any other IAddress instance.
See Also