Interface MyFatoorahSessionService
- All Known Implementing Classes:
DefaultMyFatoorahSessionService
public interface MyFatoorahSessionService
This service is responsible for making call to the MyFatoorah init-session endpoint through
MyFatoorahProvider
- Author:
- Divyank Chavan.
-
Method Summary
Modifier and TypeMethodDescriptioninitiateSession
(String customerId, String currencyCode, String applicationId, String tenantId) This method is responsible for calling MyFatoorah init-session endpoint.
-
Method Details
-
initiateSession
InitSessionResponse initiateSession(@Nullable String customerId, @Nullable String currencyCode, @Nullable String applicationId, @Nullable String tenantId) This method is responsible for calling MyFatoorah init-session endpoint.- Parameters:
customerId
- The optional customer id used to access MyFatoorah-stored saved payment methods.currencyCode
- The currency code for this requestapplicationId
- the application IDtenantId
- the tenant ID- Returns:
- The
InitSessionResponse
-