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 Details

  • Constructor Details

    • MyFatoorahInitiateSessionEndpoint

      public MyFatoorahInitiateSessionEndpoint(MyFatoorahSessionService myFatoorahSessionService)
  • 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

      protected MyFatoorahSessionService getMyFatoorahSessionService()