Class DefaultMyFatoorahSessionService
java.lang.Object
com.broadleafcommerce.myfatoorah.service.DefaultMyFatoorahSessionService
- All Implemented Interfaces:
MyFatoorahSessionService
- Author:
- Divyank Chavan.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected MyFatoorahProvider
initiateSession
(String customerId, String currencyCode, String applicationId, String tenantId) This method is responsible for calling MyFatoorah init-session endpoint.
-
Constructor Details
-
DefaultMyFatoorahSessionService
-
-
Method Details
-
initiateSession
public InitSessionResponse initiateSession(@Nullable String customerId, @Nullable String currencyCode, @Nullable String applicationId, @Nullable String tenantId) Description copied from interface:MyFatoorahSessionService
This method is responsible for calling MyFatoorah init-session endpoint.- Specified by:
initiateSession
in interfaceMyFatoorahSessionService
- 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
-
getMyFatoorahProvider
-