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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionInvoke the CisSapDigitalPaymentService to get the registration URL and the session ID.de.hybris.platform.acceleratorservices.payment.strategies.PaymentFormActionUrlStrategyde.hybris.platform.servicelayer.session.SessionServicevoidsetCisSapDigitalPaymentService(CisSapDigitalPaymentService cisSapDigitalPaymentService) voidsetPaymentFormActionUrlStrategy(de.hybris.platform.acceleratorservices.payment.strategies.PaymentFormActionUrlStrategy paymentFormActionUrlStrategy) voidsetSessionService(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, setSiteConfigServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.acceleratorservices.payment.strategies.PaymentFormActionUrlStrategy
getSopRequestUrl
-
Constructor Details
-
CisSapDigitalPaymentFormActionUrlStrategy
public CisSapDigitalPaymentFormActionUrlStrategy()
-
-
Method Details
-
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:
getHopRequestUrlin interfacede.hybris.platform.acceleratorservices.payment.strategies.PaymentFormActionUrlStrategy- Overrides:
getHopRequestUrlin classde.hybris.platform.acceleratorservices.payment.cybersource.strategies.impl.DefaultPaymentFormActionUrlStrategy
-
getCisSapDigitalPaymentService
- Returns:
- the cisSapDigitalPaymentService
-
setCisSapDigitalPaymentService
- 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
-