Class NetPriceService
java.lang.Object
de.hybris.platform.commerceservices.price.impl.NetPriceService
- All Implemented Interfaces:
PriceService
Implementation of
PriceService which is parameterized with a strategy for determining the net/gross attribute
of returned prices from a strategy.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ModelServiceprotected NetGrossStrategyReturns 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, waitMethods inherited from interface de.hybris.platform.product.PriceService
getAllPriceInformation, getPriceInformations
-
Constructor Details
-
NetPriceService
public NetPriceService()
-
-
Method Details
-
getPriceInformationsForProduct
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
-
setNetGrossStrategy
-
setTimeService
-
getModelService
-
setModelService
-