public class CommerceNetGrossStrategy extends java.lang.Object implements NetGrossStrategy
NetGrossStrategy uses the current base store to determine net/gross.| Constructor and Description |
|---|
CommerceNetGrossStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected BaseStoreService |
getBaseStoreService() |
protected CartService |
getCartService() |
protected NetGrossStrategy |
getDefaultNetGrossStrategy() |
boolean |
isNet()
Method for retrieving the net/gross setting
|
void |
setBaseStoreService(BaseStoreService baseStoreService) |
void |
setCartService(CartService cartService) |
void |
setDefaultNetGrossStrategy(NetGrossStrategy defaultNetGrossStrategy) |
public boolean isNet()
NetGrossStrategyisNet in interface NetGrossStrategypublic void setBaseStoreService(BaseStoreService baseStoreService)
baseStoreService - the baseStoreService to setpublic void setDefaultNetGrossStrategy(NetGrossStrategy defaultNetGrossStrategy)
defaultNetGrossStrategy - the defaultNetGrossStrategy to setpublic void setCartService(CartService cartService)
protected CartService getCartService()
protected BaseStoreService getBaseStoreService()
protected NetGrossStrategy getDefaultNetGrossStrategy()
Copyright © 2018 SAP SE. All Rights Reserved.