Class DefaultTmaFindAbstractOrderEntryPriceStrategy
java.lang.Object
de.hybris.platform.b2ctelcoservices.pricing.strategy.impl.DefaultTmaFindAbstractOrderEntryPriceStrategy
- All Implemented Interfaces:
TmaFindAbstractOrderEntryPriceStrategy
public class DefaultTmaFindAbstractOrderEntryPriceStrategy
extends Object
implements TmaFindAbstractOrderEntryPriceStrategy
Implementation of
TmaFindAbstractOrderEntryPriceStrategy to find the price for an order entry- Since:
- 1907
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultTmaFindAbstractOrderEntryPriceStrategy(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) -
Method Summary
Modifier and TypeMethodDescriptionfindBasePrice(AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes) Find the base price for anAbstractOrderEntryModeland creates it if there are differences in catalog codes and number of price components.protected TmaCommercePriceServicede.hybris.platform.servicelayer.config.ConfigurationServiceprotected de.hybris.platform.servicelayer.keygenerator.KeyGeneratorDeprecated.since 2007protected de.hybris.platform.servicelayer.model.ModelServiceprotected List<TmaAbstractOrderEntryPriceBuilder>voidsetCommercePriceService(TmaCommercePriceService commercePriceService) voidsetKeyGenerator(de.hybris.platform.servicelayer.keygenerator.KeyGenerator keyGenerator) Deprecated.since 2007voidsetModelService(de.hybris.platform.servicelayer.model.ModelService modelService) voidsetPriceBuilders(List<TmaAbstractOrderEntryPriceBuilder> priceBuilders)
-
Field Details
-
REMOVE_PRICES_ON_EACH_CART_REQUEST
- See Also:
-
-
Constructor Details
-
DefaultTmaFindAbstractOrderEntryPriceStrategy
public DefaultTmaFindAbstractOrderEntryPriceStrategy(de.hybris.platform.servicelayer.config.ConfigurationService configurationService)
-
-
Method Details
-
findBasePrice
public TmaAbstractOrderPriceModel findBasePrice(AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes) Description copied from interface:TmaFindAbstractOrderEntryPriceStrategyFind the base price for anAbstractOrderEntryModeland creates it if there are differences in catalog codes and number of price components.- Specified by:
findBasePricein interfaceTmaFindAbstractOrderEntryPriceStrategy- Parameters:
entry- the order entry for which the price will be computedtaxes- the taxes that should be applied on the order entry- Returns:
- the populated price for the given order entry
-
getCommercePriceService
-
setCommercePriceService
-
getModelService
protected de.hybris.platform.servicelayer.model.ModelService getModelService() -
setModelService
public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService) -
getPriceBuilders
-
setPriceBuilders
-
getKeyGenerator
@Deprecated(since="2007") protected de.hybris.platform.servicelayer.keygenerator.KeyGenerator getKeyGenerator()Deprecated.since 2007- Returns:
-
setKeyGenerator
@Deprecated(since="2007") public void setKeyGenerator(de.hybris.platform.servicelayer.keygenerator.KeyGenerator keyGenerator) Deprecated.since 2007- Parameters:
keyGenerator-
-
getConfigurationService
public de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()
-