Interface SapDigitalPaymentFacade
-
- All Known Implementing Classes:
DefaultSapDigitalPaymentFacade
public interface SapDigitalPaymentFacadeGeneric facade interface for SAP DIgital payment. Facade responsible for interacting with the Service to get the registration URL from SAP Digital payment and start the registered card poll process
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreatePollRegisteredCardProcess(java.lang.String sessionId)Creates the registration card polling processjava.lang.StringgetCardRegistrationUrl()Fetch the registration URL from the SAP Digital payment.
-
-
-
Method Detail
-
getCardRegistrationUrl
java.lang.String getCardRegistrationUrl()
Fetch the registration URL from the SAP Digital payment. Application is redirected to this URL to register the card with SAP Digital payment- Returns:
- String
-
createPollRegisteredCardProcess
void createPollRegisteredCardProcess(java.lang.String sessionId)
Creates the registration card polling process- Parameters:
sessionId- - session-id is passed to digital-payments to get the card details.
-
-