Class CisSapDigitalPaymentFormActionUrlStrategy

  • All Implemented Interfaces:
    de.hybris.platform.acceleratorservices.payment.strategies.PaymentFormActionUrlStrategy

    public class CisSapDigitalPaymentFormActionUrlStrategy
    extends de.hybris.platform.acceleratorservices.payment.cybersource.strategies.impl.DefaultPaymentFormActionUrlStrategy
    implements de.hybris.platform.acceleratorservices.payment.strategies.PaymentFormActionUrlStrategy
    Implementation class for PaymentFormActionUrlStrategy. SAP Digital payment extension only handle HOP request.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CisSapDigitalPaymentService getCisSapDigitalPaymentService()  
      java.lang.String getHopRequestUrl()
      Invoke the CisSapDigitalPaymentService to get the registration URL and the session ID.
      de.hybris.platform.acceleratorservices.payment.strategies.PaymentFormActionUrlStrategy getPaymentFormActionUrlStrategy()  
      de.hybris.platform.servicelayer.session.SessionService getSessionService()  
      void setCisSapDigitalPaymentService​(CisSapDigitalPaymentService cisSapDigitalPaymentService)  
      void setPaymentFormActionUrlStrategy​(de.hybris.platform.acceleratorservices.payment.strategies.PaymentFormActionUrlStrategy paymentFormActionUrlStrategy)  
      void setSessionService​(de.hybris.platform.servicelayer.session.SessionService sessionService)  
      • Methods inherited from class de.hybris.platform.acceleratorservices.payment.cybersource.strategies.impl.DefaultPaymentFormActionUrlStrategy

        getAdjustRequestURI, getBaseSiteService, getSiteBaseUrlResolutionService, getSiteConfigService, getSopRequestUrl, setBaseSiteService, setSiteBaseUrlResolutionService, setSiteConfigService
      • 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.acceleratorservices.payment.strategies.PaymentFormActionUrlStrategy

        getSopRequestUrl
    • Constructor Detail

      • CisSapDigitalPaymentFormActionUrlStrategy

        public CisSapDigitalPaymentFormActionUrlStrategy()
    • Method Detail

      • getHopRequestUrl

        public java.lang.String getHopRequestUrl()
        Invoke the CisSapDigitalPaymentService to get the registration URL and the session ID. Session ID is saved to Hybris session which is ater used to poll the registered card with SAP Digital payment. The URL is passed to the facade layer and the user will be redirected to this URL to make payment
        Specified by:
        getHopRequestUrl in interface de.hybris.platform.acceleratorservices.payment.strategies.PaymentFormActionUrlStrategy
        Overrides:
        getHopRequestUrl in class de.hybris.platform.acceleratorservices.payment.cybersource.strategies.impl.DefaultPaymentFormActionUrlStrategy
      • getCisSapDigitalPaymentService

        public CisSapDigitalPaymentService getCisSapDigitalPaymentService()
        Returns:
        the cisSapDigitalPaymentService
      • setCisSapDigitalPaymentService

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

        public de.hybris.platform.acceleratorservices.payment.strategies.PaymentFormActionUrlStrategy getPaymentFormActionUrlStrategy()
        Returns:
        the paymentFormActionUrlStrategy
      • setPaymentFormActionUrlStrategy

        public void setPaymentFormActionUrlStrategy​(de.hybris.platform.acceleratorservices.payment.strategies.PaymentFormActionUrlStrategy paymentFormActionUrlStrategy)
        Parameters:
        paymentFormActionUrlStrategy - the paymentFormActionUrlStrategy to set
      • getSessionService

        public de.hybris.platform.servicelayer.session.SessionService getSessionService()
        Returns:
        the sessionService
      • setSessionService

        public void setSessionService​(de.hybris.platform.servicelayer.session.SessionService sessionService)
        Parameters:
        sessionService - the sessionService to set