public static TaxInfo InternalGetTaxInfo( decimal unitPrice, int quantity, int taxCodeId, int priority, TaxAddress billingAddress, TaxAddress shippingAddress, User user, bool priceIncludesTax )
Parameters
- unitPrice
- The unit price to calculate Tax for
- quantity
- The Quantity of the line item
- taxCodeId
- The tax code that applies to this price
- priority
- The priority of the item - 0 for products, can be greater than 0 for non products items.
- billingAddress
- The billing address that applies to the price
- shippingAddress
- The shipping address that applies to the price
- user
- The user being taxed
- priceIncludesTax
- Indicates whether the price includes tax.
Return Value
The Tax details for the given price