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:
de.hybris.platform.processengine.spring.Action<SapDigitPayPollCardProcessModel>

public class SapDigitalPaySavePollCardResultAction extends de.hybris.platform.processengine.action.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.
  • Constructor Details

    • SapDigitalPaySavePollCardResultAction

      public SapDigitalPaySavePollCardResultAction()
  • Method Details

    • executeAction

      public de.hybris.platform.processengine.action.AbstractSimpleDecisionAction.Transition executeAction(SapDigitPayPollCardProcessModel pollCardProcess) throws de.hybris.platform.task.RetryLaterException, Exception
      Specified by:
      executeAction in class de.hybris.platform.processengine.action.AbstractSimpleDecisionAction<SapDigitPayPollCardProcessModel>
      Throws:
      de.hybris.platform.task.RetryLaterException
      Exception
    • getCisSapDigitalPaymentService

      public CisSapDigitalPaymentService getCisSapDigitalPaymentService()
      Returns:
      the cisSapDigitalPaymentService
    • setCisSapDigitalPaymentService

      public void setCisSapDigitalPaymentService(CisSapDigitalPaymentService cisSapDigitalPaymentService)
      Parameters:
      cisSapDigitalPaymentService - the cisSapDigitalPaymentService to set
    • getCisSapDigitalPaymentPaymentInfoConverter

      public de.hybris.platform.servicelayer.dto.converter.Converter<CisSapDigitalPaymentPollRegisteredCardResult,CCPaymentInfoData> getCisSapDigitalPaymentPaymentInfoConverter()
      Returns:
      the cisSapDigitalPaymentPaymentInfoConverter
    • setCisSapDigitalPaymentPaymentInfoConverter

      public void setCisSapDigitalPaymentPaymentInfoConverter(de.hybris.platform.servicelayer.dto.converter.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