Class TestCustomCommerceContextFactory

java.lang.Object
com.liferay.commerce.test.util.context.TestCustomCommerceContextFactory
All Implemented Interfaces:
com.liferay.commerce.context.CommerceContextFactory

public class TestCustomCommerceContextFactory extends Object implements com.liferay.commerce.context.CommerceContextFactory
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.liferay.commerce.context.CommerceContext
    create(long companyId, long commerceChannelGroupId, long userId, long orderId, long commerceAccountId)
     
    com.liferay.commerce.context.CommerceContext
    create(javax.servlet.http.HttpServletRequest httpServletRequest)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TestCustomCommerceContextFactory

      public TestCustomCommerceContextFactory()
  • Method Details

    • create

      public com.liferay.commerce.context.CommerceContext create(javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      create in interface com.liferay.commerce.context.CommerceContextFactory
    • create

      public com.liferay.commerce.context.CommerceContext create(long companyId, long commerceChannelGroupId, long userId, long orderId, long commerceAccountId)
      Specified by:
      create in interface com.liferay.commerce.context.CommerceContextFactory