Class VatCalculationServiceImpl
java.lang.Object
ch.tocco.nice2.optional.finance.impl.service.vat.VatCalculationServiceImpl
- All Implemented Interfaces:
VatCalculationService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBruttoAmount
(BigDecimal price, BigDecimal vatPercent, BigDecimal rounding, Boolean inclusive) getNettoAmount
(BigDecimal price, @Nullable BigDecimal vatPercent, BigDecimal rounding, Boolean inclusive) getVatAmount
(BigDecimal price, BigDecimal vatPercent, BigDecimal rounding, Boolean inclusive)
-
Constructor Details
-
VatCalculationServiceImpl
public VatCalculationServiceImpl()
-
-
Method Details
-
getNettoAmount
public BigDecimal getNettoAmount(BigDecimal price, @Nullable @Nullable BigDecimal vatPercent, BigDecimal rounding, Boolean inclusive) - Specified by:
getNettoAmount
in interfaceVatCalculationService
-
getVatAmount
public BigDecimal getVatAmount(BigDecimal price, BigDecimal vatPercent, BigDecimal rounding, Boolean inclusive) - Specified by:
getVatAmount
in interfaceVatCalculationService
-
getBruttoAmount
public BigDecimal getBruttoAmount(BigDecimal price, BigDecimal vatPercent, BigDecimal rounding, Boolean inclusive) - Specified by:
getBruttoAmount
in interfaceVatCalculationService
-