Class SapDigitalPaymentTakePaymentAction
- java.lang.Object
-
- de.hybris.platform.processengine.action.AbstractAction<T>
-
- de.hybris.platform.processengine.action.AbstractSimpleDecisionAction<OrderProcessModel>
-
- de.hybris.platform.ysapdpordermanagement.actions.order.payment.SapDigitalPaymentTakePaymentAction
-
- All Implemented Interfaces:
Action<OrderProcessModel>
public class SapDigitalPaymentTakePaymentAction extends AbstractSimpleDecisionAction<OrderProcessModel>
The TakePayment step captures the payment transaction.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.processengine.action.AbstractSimpleDecisionAction
AbstractSimpleDecisionAction.Transition
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.processengine.action.AbstractAction
modelService, processParameterHelper
-
Fields inherited from interface de.hybris.platform.processengine.spring.Action
ERROR_RETURN_CODE, RETRY_RETURN_CODE
-
-
Constructor Summary
Constructors Constructor Description SapDigitalPaymentTakePaymentAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractSimpleDecisionAction.TransitionexecuteAction(OrderProcessModel process)Executes thisAction's business logic working on the givenBusinessProcessModel.PaymentServicegetPaymentService()SapDigitalPaymentServicegetSapDigitalPaymentService()voidsetPaymentService(PaymentService paymentService)voidsetSapDigitalPaymentService(SapDigitalPaymentService sapDigitalPaymentService)-
Methods inherited from class de.hybris.platform.processengine.action.AbstractSimpleDecisionAction
execute, getTransitions
-
Methods inherited from class de.hybris.platform.processengine.action.AbstractAction
createTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelper
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.processengine.spring.Action
getCurrentActionDefinitionContext
-
-
-
-
Method Detail
-
executeAction
public AbstractSimpleDecisionAction.Transition executeAction(OrderProcessModel process) throws SapDigitalPaymentCaptureException
Description copied from class:AbstractSimpleDecisionActionExecutes thisAction's business logic working on the givenBusinessProcessModel.- Specified by:
executeActionin classAbstractSimpleDecisionAction<OrderProcessModel>- Parameters:
process- The process context to work on.- Returns:
- OK; NOK
- Throws:
SapDigitalPaymentCaptureException
-
getSapDigitalPaymentService
public SapDigitalPaymentService getSapDigitalPaymentService()
- Returns:
- the sapDigitalPaymentService
-
setSapDigitalPaymentService
public void setSapDigitalPaymentService(SapDigitalPaymentService sapDigitalPaymentService)
- Parameters:
sapDigitalPaymentService- the sapDigitalPaymentService to set
-
getPaymentService
public PaymentService getPaymentService()
- Returns:
- the paymentService
-
setPaymentService
public void setPaymentService(PaymentService paymentService)
- Parameters:
paymentService- the paymentService to set
-
-