Class CisSapDigitalPaymentFormActionUrlStrategy

java.lang.Object
de.hybris.platform.acceleratorservices.payment.cybersource.strategies.impl.DefaultPaymentFormActionUrlStrategy
de.hybris.platform.cissapdigitalpayment.strategies.impl.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.
  • Constructor Details

    • CisSapDigitalPaymentFormActionUrlStrategy

      public CisSapDigitalPaymentFormActionUrlStrategy()
  • Method Details

    • getHopRequestUrl

      public 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