Class NetPriceService
- java.lang.Object
-
- de.hybris.platform.commerceservices.price.impl.NetPriceService
-
- All Implemented Interfaces:
PriceService
public class NetPriceService extends java.lang.Object implements PriceService
Implementation ofPriceServicewhich is parameterized with a strategy for determining the net/gross attribute of returned prices from a strategy.
-
-
Constructor Summary
Constructors Constructor Description NetPriceService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ModelServicegetModelService()protected NetGrossStrategygetNetGrossStrategy()java.util.List<PriceInformation>getPriceInformationsForProduct(ProductModel model)Returns all availablePriceInformationfor the givenProductModeland the current session user.voidsetModelService(ModelService modelService)voidsetNetGrossStrategy(NetGrossStrategy netGrossStrategy)voidsetTimeService(TimeService timeService)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.product.PriceService
getAllPriceInformation, getPriceInformations
-
-
-
-
Method Detail
-
getPriceInformationsForProduct
public java.util.List<PriceInformation> getPriceInformationsForProduct(ProductModel model)
Description copied from interface:PriceServiceReturns all availablePriceInformationfor the givenProductModeland the current session user.- Specified by:
getPriceInformationsForProductin interfacePriceService- Parameters:
model- the product- Returns:
- an empty list if no price information exists for the product and current session user.
-
getNetGrossStrategy
protected NetGrossStrategy getNetGrossStrategy()
-
setNetGrossStrategy
public void setNetGrossStrategy(NetGrossStrategy netGrossStrategy)
-
setTimeService
public void setTimeService(TimeService timeService)
-
getModelService
protected ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
-