org.broadleafcommerce.core.pricing.service.tax.provider
Interface TaxProvider
- All Superinterfaces:
- ModuleProvider
public interface TaxProvider
- extends ModuleProvider
calculateTaxForOrder
Order calculateTaxForOrder(Order order,
ModuleConfiguration config)
throws TaxException
- Calculates taxes on an entire order. Returns the order with taxes included.
- Parameters:
order - config -
- Returns:
-
- Throws:
TaxException
commitTaxForOrder
Order commitTaxForOrder(Order order,
ModuleConfiguration config)
throws TaxException
- This method provides the implementation an opportunity to finalize taxes on the order. This is
often required when tax sub systems require tax documents to be created on checkout. This method
will typically be called by the checkout workflow, rather than by the pricing workflow.
- Parameters:
order - config -
- Returns:
-
- Throws:
TaxException
Copyright © 2013. All Rights Reserved.