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
ConstructorsConstructorDescriptionAccountingServiceImpl(Context context, QueryBuilderFactory queryBuilderFactory, BusinessUnitManager buManager, ActiveVatRateService activeVatRateService) -
Method Summary
Modifier and TypeMethodDescriptioncreateAccountings(List<Entity> vouchers) creates accountings for a list of vouchers@Nullable EntitygetVoucher(AccountingService.Accounting accounting) voidsetDebitorAccountingMethod(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:AccountingServicecreates accountings for a list of vouchers- Specified by:
createAccountingsin interfaceAccountingService- Parameters:
vouchers- the list of vouchers- Returns:
- the created accountings
- Throws:
PersistException
-
getVoucher
- Specified by:
getVoucherin interfaceAccountingService
-
setDebitorAccountingMethod
-