Class 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 Detail

      • SapDigitalPaySavePollCardResultAction

        public SapDigitalPaySavePollCardResultAction()
    • Method Detail

      • executeAction

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

        public CisSapDigitalPaymentService getCisSapDigitalPaymentService()
        Returns:
        the cisSapDigitalPaymentService
      • setCisSapDigitalPaymentService

        public void setCisSapDigitalPaymentService​(CisSapDigitalPaymentService cisSapDigitalPaymentService)
        Parameters:
        cisSapDigitalPaymentService - the cisSapDigitalPaymentService to set
      • 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