Class CreateVoucherForIncomingPaymentTask
java.lang.Object
ch.tocco.nice2.optional.finance.impl.util.CreateVoucherForIncomingPaymentTask
- All Implemented Interfaces:
OptionalTask<Entity,
,Entity> PersistTask<Entity,
Entity>
public class CreateVoucherForIncomingPaymentTask
extends Object
implements OptionalTask<Entity,Entity>
-
Constructor Summary
ConstructorDescriptionCreateVoucherForIncomingPaymentTask
(VoucherService voucherService, IncomingPaymentHandlerService incomingPaymentHandlerService) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.OptionalTask
run
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
CreateVoucherForIncomingPaymentTask
public CreateVoucherForIncomingPaymentTask(VoucherService voucherService, IncomingPaymentHandlerService incomingPaymentHandlerService)
-
-
Method Details
-
doRun
public Entity doRun(Entity incomingPayment, CommandContext commandContext) throws PersistException, InterruptedException - Specified by:
doRun
in interfaceOptionalTask<Entity,
Entity> - Throws:
PersistException
InterruptedException
-