final class GrossPriceCalculatorImpl extends java.lang.Object implements GrossPriceCalculator
Modifier and Type | Field and Description |
---|---|
private GrossPriceStrategy |
strategy |
private TaxMatrix |
taxMatrix |
Constructor and Description |
---|
GrossPriceCalculatorImpl(GrossPriceStrategy calc,
DAOFactory<TaxMatrixDAO> taxMatrixDAOfactory,
java.lang.String dsName,
ProductReaderPreparedStatementSetter shopIdSetter) |
Modifier and Type | Method and Description |
---|---|
private Money |
getGrossMoney(Price netPrice,
double rate) |
java.util.Collection<Price> |
getGrossPrices(Price netPrice,
int taxClassId) |
private final GrossPriceStrategy strategy
private final TaxMatrix taxMatrix
@Inject public GrossPriceCalculatorImpl(GrossPriceStrategy calc, DAOFactory<TaxMatrixDAO> taxMatrixDAOfactory, java.lang.String dsName, ProductReaderPreparedStatementSetter shopIdSetter)
public java.util.Collection<Price> getGrossPrices(Price netPrice, int taxClassId)
getGrossPrices
in interface GrossPriceCalculator