Class CancelVoucherTask
java.lang.Object
ch.tocco.nice2.optional.finance.api.tasks.CancelVoucherTask
- All Implemented Interfaces:
OptionalTask<Tuple3<Entity,
,String, org.joda.time.LocalDate>, Entity> PersistTask<Tuple3<Entity,
String, org.joda.time.LocalDate>, Entity>
public class CancelVoucherTask
extends Object
implements OptionalTask<Tuple3<Entity,String,org.joda.time.LocalDate>,Entity>
Task that creates new storno vouchers for a order when cancelling it
-
Constructor Summary
ConstructorDescriptionCancelVoucherTask
(VoucherService voucherService, List<String> fields, Set<String> relations) -
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