Class VatInformationServiceImpl
java.lang.Object
ch.tocco.nice2.optional.finance.impl.service.vat.VatInformationServiceImpl
- All Implemented Interfaces:
VatInformationService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRoundingFromOrderPosition
(Entity orderPosition) getVatInformationFromOrderPosition
(Entity orderPosition) Resolves the relation to Vat_code and returns the relevant Vat Information (inclusive, vatRate)
-
Constructor Details
-
VatInformationServiceImpl
-
-
Method Details
-
getVatInformationFromOrderPosition
public Tuple2<Optional<Boolean>,Optional<BigDecimal>> getVatInformationFromOrderPosition(Entity orderPosition) Description copied from interface:VatInformationService
Resolves the relation to Vat_code and returns the relevant Vat Information (inclusive, vatRate)- Specified by:
getVatInformationFromOrderPosition
in interfaceVatInformationService
- Returns:
- Tuple (Boolean inclusive, BigDecimal vatRate)
-
getRoundingFromOrderPosition
- Specified by:
getRoundingFromOrderPosition
in interfaceVatInformationService
-