Class MyFatoorahInitiateSessionEndpoint
java.lang.Object
com.broadleafcommerce.myfatoorah.web.endpoint.MyFatoorahInitiateSessionEndpoint
@FrameworkRestController
@FrameworkMapping("/my-fatoorah/init-session")
public class MyFatoorahInitiateSessionEndpoint
extends Object
- Author:
- Divyank Chavan.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMyFatoorahInitiateSessionEndpoint
(MyFatoorahSessionService myFatoorahSessionService) -
Method Summary
Modifier and TypeMethodDescriptionprotected MyFatoorahSessionService
initiateSession
(CustomerRef customerRef, String currencyCode, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
-
Field Details
-
BASE_URI
- See Also:
-
-
Constructor Details
-
MyFatoorahInitiateSessionEndpoint
-
-
Method Details
-
initiateSession
@FrameworkPostMapping @Policy(permissionRoots="MYFATOORAH_INIT_SESSION") public InitSessionResponse initiateSession(CustomerRef customerRef, @RequestParam(required=false) String currencyCode, @ContextOperation(CREATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo context) -
getMyFatoorahSessionService
-