Package | Description |
---|---|
com.neurosys.ecom.strategy.service |
Modifier and Type | Class and Description |
---|---|
class |
DefaultTaxStrategy<P extends Product,U extends User>
Calculate Tax; default impl expects taxData attribute/field to contain the value as % of basePrice
Costs per unit are simple multiplied by Quantity Default tax calculation = (Total Amount * tax%) / 100 |
Modifier and Type | Field and Description |
---|---|
protected TaxStrategy |
AbstractChargeStrategy.taxStrategy
Tax can be factored into any other Strategy, so providing by default
|
Modifier and Type | Method and Description |
---|---|
TaxStrategy |
AbstractChargeStrategy.getTaxStrategy()
Tax can be factored into any other Strategy, so providing by default
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractChargeStrategy.setTaxStrategy(TaxStrategy taxStrategy)
Tax can be factored into any other Strategy, so providing by default
|
Copyright © 2018. All rights reserved.