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.PaymentFormActionUrlStrategyImplementation class for PaymentFormActionUrlStrategy. SAP Digital payment extension only handle HOP request.
-
-
Constructor Summary
Constructors Constructor Description CisSapDigitalPaymentFormActionUrlStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CisSapDigitalPaymentServicegetCisSapDigitalPaymentService()java.lang.StringgetHopRequestUrl()Invoke the CisSapDigitalPaymentService to get the registration URL and the session ID.de.hybris.platform.acceleratorservices.payment.strategies.PaymentFormActionUrlStrategygetPaymentFormActionUrlStrategy()de.hybris.platform.servicelayer.session.SessionServicegetSessionService()voidsetCisSapDigitalPaymentService(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, setSiteConfigService
-
-
-
-
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:
getHopRequestUrlin interfacede.hybris.platform.acceleratorservices.payment.strategies.PaymentFormActionUrlStrategy- Overrides:
getHopRequestUrlin classde.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
-
-