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: 13.0.131
Syntax
C#
AddressInfo GetTaxAddress(
	AddressInfo billingAddress,
	AddressInfo shippingAddress,
	TaxClassInfo taxClass,
	CustomerInfo customer
)

Parameters

billingAddress
Type: CMS.EcommerceAddressInfo
A billing address of taxed purchase.
shippingAddress
Type: CMS.EcommerceAddressInfo
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: AddressInfo
Remarks
Note that the result can be billingAddress, shippingAddress or any other AddressInfo instance.
See Also