Class AccountingServiceImpl
java.lang.Object
ch.tocco.nice2.optional.finance.impl.service.accounting.AccountingServiceImpl
- All Implemented Interfaces:
AccountingService
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.optional.finance.api.service.accounting.AccountingService
AccountingService.Accounting
-
Constructor Summary
ConstructorDescriptionAccountingServiceImpl
(Context context, QueryBuilderFactory queryBuilderFactory, BusinessUnitManager buManager, ActiveVatRateService activeVatRateService) -
Method Summary
Modifier and TypeMethodDescriptioncreateAccountings
(List<Entity> vouchers) creates accountings for a list of vouchers@Nullable Entity
getVoucher
(AccountingService.Accounting accounting) void
setDebitorAccountingMethod
(List<AccountingMethod> debitorAccountingMethod)
-
Constructor Details
-
AccountingServiceImpl
public AccountingServiceImpl(Context context, QueryBuilderFactory queryBuilderFactory, BusinessUnitManager buManager, ActiveVatRateService activeVatRateService)
-
-
Method Details
-
createAccountings
public List<AccountingService.Accounting> createAccountings(List<Entity> vouchers) throws PersistException Description copied from interface:AccountingService
creates accountings for a list of vouchers- Specified by:
createAccountings
in interfaceAccountingService
- Parameters:
vouchers
- the list of vouchers- Returns:
- the created accountings
- Throws:
PersistException
-
getVoucher
- Specified by:
getVoucher
in interfaceAccountingService
-
setDebitorAccountingMethod
-