public static List<BasketItem> Calculate( TaxRule taxRule, Basket basket, int shipmentId, bool priceIncludesTax )
Parameters
- taxRule
- The tax rule
- basket
- The basket being processed
- shipmentId
- Shipment id filter; pass 0 for nonshippable items and -1 to ignore shipments
- priceIncludesTax
- Indicates whether prices include tax
Return Value
A list of line items to add to the basket