Class DefaultTmaAbstractOrderPriceBuilder
java.lang.Object
de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.order.DefaultTmaAbstractOrderCartPriceBuilder
de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.order.impl.DefaultTmaAbstractOrderPriceBuilder
- All Implemented Interfaces:
TmaAbstractOrderPriceBuilder
public class DefaultTmaAbstractOrderPriceBuilder
extends DefaultTmaAbstractOrderCartPriceBuilder
implements TmaAbstractOrderPriceBuilder
Builder that creates a list of
TmaAbstractOrderOneTimeChargePriceModel to be set on the order- Since:
- 1907
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildPrice(Double price, AbstractOrderModel order, List<de.hybris.platform.util.TaxValue> taxes, TmaAbstractOrderPriceType priceType) Builds aTmaAbstractOrderPriceModelfor the given param.protected de.hybris.platform.servicelayer.config.ConfigurationServiceDeprecated.since 2007protected de.hybris.platform.servicelayer.keygenerator.KeyGeneratorDeprecated.since 2007protected de.hybris.platform.servicelayer.model.ModelServicevoidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Deprecated.since 2007voidsetKeyGenerator(de.hybris.platform.servicelayer.keygenerator.KeyGenerator keyGenerator) Deprecated.since 2007voidsetModelService(de.hybris.platform.servicelayer.model.ModelService modelService) Methods inherited from class de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.order.DefaultTmaAbstractOrderCartPriceBuilder
getBillingTimeService, getTmaRetrieveTaxRateStrategy, retrieveTaxRate, setBillingTimeService, setPriceValues, setTmaRetrieveTaxRateStrategy
-
Constructor Details
-
DefaultTmaAbstractOrderPriceBuilder
public DefaultTmaAbstractOrderPriceBuilder()
-
-
Method Details
-
buildPrice
public TmaAbstractOrderPriceModel buildPrice(Double price, AbstractOrderModel order, List<de.hybris.platform.util.TaxValue> taxes, TmaAbstractOrderPriceType priceType) Description copied from interface:TmaAbstractOrderPriceBuilderBuilds aTmaAbstractOrderPriceModelfor the given param.- Specified by:
buildPricein interfaceTmaAbstractOrderPriceBuilder- Parameters:
price- the price value to be set on the order priceorder- the order for which the price is createdtaxes- the taxes to be applied on the order pricepriceType- the price type to be set on the order price- Returns:
- created and populated order price
-
getModelService
protected de.hybris.platform.servicelayer.model.ModelService getModelService() -
setModelService
public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService) -
getKeyGenerator
@Deprecated(since="2007") protected de.hybris.platform.servicelayer.keygenerator.KeyGenerator getKeyGenerator()Deprecated.since 2007 -
setKeyGenerator
@Deprecated(since="2007") public void setKeyGenerator(de.hybris.platform.servicelayer.keygenerator.KeyGenerator keyGenerator) Deprecated.since 2007 -
getConfigurationService
@Deprecated(since="2007") protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()Deprecated.since 2007 -
setConfigurationService
@Deprecated(since="2007") public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Deprecated.since 2007
-