Class CommerceNetGrossStrategy

    • Constructor Detail

      • CommerceNetGrossStrategy

        public CommerceNetGrossStrategy()
    • Method Detail

      • isNet

        public boolean isNet()
        Description copied from interface: NetGrossStrategy
        Method for retrieving the net/gross setting
        Specified by:
        isNet in interface NetGrossStrategy
        Returns:
        the net/gross setting to be used for retrieving price information
      • setBaseStoreService

        public void setBaseStoreService​(BaseStoreService baseStoreService)
        Parameters:
        baseStoreService - the baseStoreService to set
      • setDefaultNetGrossStrategy

        public void setDefaultNetGrossStrategy​(NetGrossStrategy defaultNetGrossStrategy)
        Parameters:
        defaultNetGrossStrategy - the defaultNetGrossStrategy to set
      • setCartService

        public void setCartService​(CartService cartService)
      • getCartService

        protected CartService getCartService()
      • getDefaultNetGrossStrategy

        protected NetGrossStrategy getDefaultNetGrossStrategy()