P
- U
- public interface TaxStrategy<P extends Product,U extends User> extends CumulativeChargeStrategy<P,U>
Modifier and Type | Method and Description |
---|---|
<DATA> DATA |
getTaxDataForProduct(P product)
Taxes are usually applicable to all components
So provide convenient reusable method for getting Tax Data
By Default this matches DefaultTaxStrategy and gets data for #getRepresentativeProduct(Product, "taxData") |
Boolean |
getTaxReverseCaculated()
If Tax is calculated reverse from Total; then true
|
calculate
calculate
getVersion
<DATA> DATA getTaxDataForProduct(P product)
DefaultTaxStrategy
and gets data for #getRepresentativeProduct(Product, "taxData")
product
- Boolean getTaxReverseCaculated()
Copyright © 2018. All rights reserved.