PaymentWorkflow Class
- public class PaymentWorkflow
extends StateMachine
implements Workflow
------------------------------------------------------
These are the states provided by this StateMachine:
------------------------------------------------------
[Authorized]
[MarkedForSettle]
[PendingPartialSettle]
[PendingSettle]
[Rejected]
[SettleFailed]
[Settled]
[Retry]
[Start] Initial State
------------------------------------------------------
These are the transitions provided by this StateMachine:
------------------------------------------------------
authorize
[Start]------------->[Authorized]
failSettle
[Authorized]------------->[Authorized]
failSettle
[MarkedForSettle]------------->[MarkedForSettle]
markForSettle
[Authorized]------------->[MarkedForSettle]
partialSettle
[Authorized]------------->[PendingPartialSettle]
partialSettle
[MarkedForSettle]------------->[PendingPartialSettle]
pendingPartialSettle
[PendingPartialSettle]------------->[PendingPartialSettle]
pendingSettle
[PendingSettle]------------->[PendingSettle]
queryFail
[PendingPartialSettle]------------->[SettleFailed]
queryFail
[PendingSettle]------------->[SettleFailed]
querySuccess
[PendingPartialSettle]------------->[Authorized]
querySuccess
[PendingSettle]------------->[Settled]
reject
[Start]------------->[Rejected]
settle
[Authorized]------------->[PendingSettle]
settle
[MarkedForSettle]------------->[PendingSettle]
systemFailure
[Start]------------->[Retry]
failRetry
[Retry]------------->[Retry]
authorize
[Retry]------------->[Authorized]
Related Topics
Workflow
-
Hierarchy
-
Object
StateMachine
PaymentWorkflow
-
All Implemented Interfaces
-
BusinessSmartComponent
, Serializable
, Workflow
-
PaymentWorkflow()
- Use WorkflowHome.create("com.beasys.commerce.ebusiness.payment.PaymentWorkflow") to instantiate the workflow.
|
Methods from com.beasys.commerce.foundation.StateMachine |
addTransition , doTransition , getContext , getCurrentStateName , getInitialStateName , getOutgoingTransitions , getStateNames , getTransitionNames , lookAheadTransition , reset , setContext
|
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PaymentWorkflow
public PaymentWorkflow()
- Use WorkflowHome.create("com.beasys.commerce.ebusiness.payment.PaymentWorkflow") to instantiate the workflow.