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