Class SapDigitalPaySavePollCardResultAction
- java.lang.Object
-
- de.hybris.platform.processengine.action.AbstractAction<T>
-
- de.hybris.platform.processengine.action.AbstractSimpleDecisionAction<SapDigitPayPollCardProcessModel>
-
- de.hybris.platform.cissapdigitalpayment.actions.SapDigitalPaySavePollCardResultAction
-
- All Implemented Interfaces:
Action<SapDigitPayPollCardProcessModel>
public class SapDigitalPaySavePollCardResultAction extends AbstractSimpleDecisionAction<SapDigitPayPollCardProcessModel>
Action class to convert the poll card result received from the SAP Digital payment to CCPaymentInfo object. Call the servicess that create a Hybris subscription, create CreditCardPaymentInfoModel and save it to cart.
-
-
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 SapDigitalPaySavePollCardResultAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractSimpleDecisionAction.Transition
executeAction(SapDigitPayPollCardProcessModel pollCardProcess)
Executes thisAction
's business logic working on the givenBusinessProcessModel
.Converter<CisSapDigitalPaymentPollRegisteredCardResult,CCPaymentInfoData>
getCisSapDigitalPaymentPaymentInfoConverter()
CisSapDigitalPaymentService
getCisSapDigitalPaymentService()
SapDigitalPaymentService
getSapDigitalPaymentService()
void
setCisSapDigitalPaymentPaymentInfoConverter(Converter<CisSapDigitalPaymentPollRegisteredCardResult,CCPaymentInfoData> cisSapDigitalPaymentPaymentInfoConverter)
void
setCisSapDigitalPaymentService(CisSapDigitalPaymentService cisSapDigitalPaymentService)
void
setSapDigitalPaymentService(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(SapDigitPayPollCardProcessModel pollCardProcess) throws RetryLaterException, java.lang.Exception
Description copied from class:AbstractSimpleDecisionAction
Executes thisAction
's business logic working on the givenBusinessProcessModel
.- Specified by:
executeAction
in classAbstractSimpleDecisionAction<SapDigitPayPollCardProcessModel>
- Parameters:
pollCardProcess
- The process context to work on.- Returns:
- OK; NOK
- Throws:
RetryLaterException
java.lang.Exception
-
getCisSapDigitalPaymentService
public CisSapDigitalPaymentService getCisSapDigitalPaymentService()
- Returns:
- the cisSapDigitalPaymentService
-
setCisSapDigitalPaymentService
public void setCisSapDigitalPaymentService(CisSapDigitalPaymentService cisSapDigitalPaymentService)
- Parameters:
cisSapDigitalPaymentService
- the cisSapDigitalPaymentService to set
-
getCisSapDigitalPaymentPaymentInfoConverter
public Converter<CisSapDigitalPaymentPollRegisteredCardResult,CCPaymentInfoData> getCisSapDigitalPaymentPaymentInfoConverter()
- Returns:
- the cisSapDigitalPaymentPaymentInfoConverter
-
setCisSapDigitalPaymentPaymentInfoConverter
public void setCisSapDigitalPaymentPaymentInfoConverter(Converter<CisSapDigitalPaymentPollRegisteredCardResult,CCPaymentInfoData> cisSapDigitalPaymentPaymentInfoConverter)
- Parameters:
cisSapDigitalPaymentPaymentInfoConverter
- the cisSapDigitalPaymentPaymentInfoConverter to set
-
getSapDigitalPaymentService
public SapDigitalPaymentService getSapDigitalPaymentService()
- Returns:
- the sapDigitalPaymentService
-
setSapDigitalPaymentService
public void setSapDigitalPaymentService(SapDigitalPaymentService sapDigitalPaymentService)
- Parameters:
sapDigitalPaymentService
- the sapDigitalPaymentService to set
-
-