public static List<OrderItem> Calculate( TaxRule taxRule, Order order, int shipmentId, bool priceIncludesTax )
Parameters
- taxRule
- The tax rule
- order
- The order 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 order