public interface TaxService
| Modifier and Type | Method and Description |
|---|---|
Order |
calculateTaxForOrder(Order order)
Calculates tax for the order.
|
void |
cancelTax(Order order)
Some tax providers store tax details from an order on an external system for reporting and tax reconcilliation.
|
Order |
commitTaxForOrder(Order order)
Commits tax for the order.
|
Order calculateTaxForOrder(Order order) throws TaxException
order - TaxExceptionOrder commitTaxForOrder(Order order) throws TaxException
order - TaxExceptionvoid cancelTax(Order order) throws TaxException
order - TaxExceptionCopyright © 2015. All Rights Reserved.