Class CommerceNetGrossStrategy
java.lang.Object
de.hybris.platform.commerceservices.strategies.impl.CommerceNetGrossStrategy
- All Implemented Interfaces:
NetGrossStrategy
Default implementation of
NetGrossStrategy uses the current base store to determine net/gross.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BaseStoreServiceprotected CartServiceprotected NetGrossStrategybooleanisNet()Method for retrieving the net/gross settingvoidsetBaseStoreService(BaseStoreService baseStoreService) voidsetCartService(CartService cartService) voidsetDefaultNetGrossStrategy(NetGrossStrategy defaultNetGrossStrategy)
-
Constructor Details
-
CommerceNetGrossStrategy
public CommerceNetGrossStrategy()
-
-
Method Details
-
isNet
public boolean isNet()Description copied from interface:NetGrossStrategyMethod for retrieving the net/gross setting- Specified by:
isNetin interfaceNetGrossStrategy- Returns:
- the net/gross setting to be used for retrieving price information
-
setBaseStoreService
- Parameters:
baseStoreService- the baseStoreService to set
-
setDefaultNetGrossStrategy
- Parameters:
defaultNetGrossStrategy- the defaultNetGrossStrategy to set
-
setCartService
-
getCartService
-
getBaseStoreService
-
getDefaultNetGrossStrategy
-