Class CreateDebitorTask
java.lang.Object
ch.tocco.nice2.optional.debitor.impl.tasks.CreateDebitorTask
- All Implemented Interfaces:
OptionalTask<Entity,
,Tuple2<Entity, Entity>> PersistTask<Entity,
Tuple2<Entity, Entity>>
Task that creates new debitors for a order when booking it
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
-
Constructor Summary
-
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
-
Field Details
-
DEBITOR
- See Also:
-
CLEARING_STATUS
- See Also:
-
BILLING_ADDRESS_TEXT_FIELD
- See Also:
-
REL_ORDER
- See Also:
-
REL_CLEARING_STATUS
- See Also:
-
REL_ADDRESS_B
- See Also:
-
REL_CURRENCY
- See Also:
-
REL_PAYMENT_SCHEDULE
- See Also:
-
REL_ACCOUNT
- See Also:
-
REL_BILLING_ADDRESS
- See Also:
-
REL_USER
- See Also:
-
OPEN_STATUS
- See Also:
-
-
Constructor Details
-
CreateDebitorTask
public CreateDebitorTask()
-
-
Method Details
-
doRun
public Tuple2<Entity,Entity> doRun(Entity order, CommandContext commandContext) throws PersistException, InterruptedException - Specified by:
doRun
in interfaceOptionalTask<Entity,
Tuple2<Entity, Entity>> - Throws:
PersistException
InterruptedException
-