public class PaymentServiceActivity extends BaseActivity<CheckoutContext>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
stopCheckoutOnSinglePaymentFailure |
automaticallyRegisterRollbackHandler, beanName, errorHandler, order, rollbackHandler, rollbackRegion, stateConfiguration| Constructor and Description |
|---|
PaymentServiceActivity() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkTransactionStatus(ProcessContext context,
PaymentResponseItem paymentResponseItem) |
CheckoutContext |
execute(CheckoutContext context)
Called by the encompassing processor to activate
the execution of the Activity
|
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getOrder, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setOrder, setRollbackHandler, setRollbackRegion, setStateConfiguration, shouldExecute@Value(value="${stop.checkout.on.single.payment.failure}")
protected java.lang.Boolean stopCheckoutOnSinglePaymentFailure
public CheckoutContext execute(CheckoutContext context) throws java.lang.Exception
Activitycontext - - process context for this workflowjava.lang.Exceptionprotected void checkTransactionStatus(ProcessContext context, PaymentResponseItem paymentResponseItem)
Copyright © 2018. All Rights Reserved.