Class DefaultMyFatoorahSessionService
java.lang.Object
com.broadleafcommerce.myfatoorah.service.DefaultMyFatoorahSessionService
- All Implemented Interfaces:
MyFatoorahSessionService
- Author:
- Divyank Chavan.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MyFatoorahProviderinitiateSession(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:MyFatoorahSessionServiceThis method is responsible for calling MyFatoorah init-session endpoint.- Specified by:
initiateSessionin 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
-