@Component(value="blConfirmPaymentsRollbackHandler") public class ConfirmPaymentsRollbackHandler extends Object implements RollbackHandler<CheckoutSeed>
ValidateAndConfirmPaymentActivity.| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
LOG |
protected OrderPaymentService |
orderPaymentService |
protected OrderService |
orderService |
protected PaymentGatewayConfigurationServiceProvider |
paymentConfigurationServiceProvider |
protected PaymentGatewayCheckoutService |
paymentGatewayCheckoutService |
protected OrderToPaymentRequestDTOService |
transactionToPaymentRequestDTOService |
| Constructor and Description |
|---|
ConfirmPaymentsRollbackHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
rollbackState(Activity<? extends ProcessContext<CheckoutSeed>> activity,
ProcessContext<CheckoutSeed> processContext,
Map<String,Object> stateConfiguration)
Rollback the state of the activity to what it was prior to execution.
|
protected static final org.apache.commons.logging.Log LOG
@Autowired(required=false) @Qualifier(value="blPaymentGatewayConfigurationServiceProvider") protected PaymentGatewayConfigurationServiceProvider paymentConfigurationServiceProvider
protected OrderToPaymentRequestDTOService transactionToPaymentRequestDTOService
protected OrderPaymentService orderPaymentService
protected PaymentGatewayCheckoutService paymentGatewayCheckoutService
protected OrderService orderService
public void rollbackState(Activity<? extends ProcessContext<CheckoutSeed>> activity, ProcessContext<CheckoutSeed> processContext, Map<String,Object> stateConfiguration) throws RollbackFailureException
RollbackHandlerrollbackState in interface RollbackHandler<CheckoutSeed>activity - The Activity instance whose state is being revertedprocessContext - The ProcessContext for the workflowstateConfiguration - Any user-defined state configuration associated with the RollbackHandlerRollbackFailureException - if there is a failure during the execution of the rollbackCopyright © 2015. All Rights Reserved.