public class PaymentServiceActivity extends BaseActivity<CheckoutContext>
| Modifier and Type | Field and Description |
|---|---|
protected 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 Boolean stopCheckoutOnSinglePaymentFailure
public CheckoutContext execute(CheckoutContext context) throws Exception
Activitycontext - - process context for this workflowExceptionprotected void checkTransactionStatus(ProcessContext context, PaymentResponseItem paymentResponseItem)
Copyright © 2014. All Rights Reserved.