Class DefaultTmaAbstractOrderDiscountValuePriceBuilder
java.lang.Object
de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.order.impl.DefaultTmaAbstractOrderDiscountValuePriceBuilder
- All Implemented Interfaces:
TmaAbstractOrderDiscountValuePriceBuilder
public class DefaultTmaAbstractOrderDiscountValuePriceBuilder
extends Object
implements TmaAbstractOrderDiscountValuePriceBuilder
Default implementation for
TmaAbstractOrderDiscountValuePriceBuilder- Since:
- 2007
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultTmaAbstractOrderDiscountValuePriceBuilder(TmaAbstractOrderPriceBuilder orderPriceBuilder, de.hybris.platform.servicelayer.model.ModelService modelService) -
Method Summary
Modifier and TypeMethodDescriptionbuildPrice(de.hybris.platform.util.DiscountValue discountValue, AbstractOrderModel order, List<de.hybris.platform.util.TaxValue> taxes) Builds an instance ofTmaAbstractOrderPriceModelfor the given param.protected de.hybris.platform.servicelayer.model.ModelServiceprotected TmaAbstractOrderPriceBuilder
-
Constructor Details
-
DefaultTmaAbstractOrderDiscountValuePriceBuilder
public DefaultTmaAbstractOrderDiscountValuePriceBuilder(TmaAbstractOrderPriceBuilder orderPriceBuilder, de.hybris.platform.servicelayer.model.ModelService modelService)
-
-
Method Details
-
buildPrice
public TmaAbstractOrderPriceModel buildPrice(de.hybris.platform.util.DiscountValue discountValue, AbstractOrderModel order, List<de.hybris.platform.util.TaxValue> taxes) Description copied from interface:TmaAbstractOrderDiscountValuePriceBuilderBuilds an instance ofTmaAbstractOrderPriceModelfor the given param.- Specified by:
buildPricein interfaceTmaAbstractOrderDiscountValuePriceBuilderorder- the order for which the prices are createdtaxes- the taxes to be applied on the order price- Returns:
- the list of order entry prices
-
getOrderPriceBuilder
-
getModelService
protected de.hybris.platform.servicelayer.model.ModelService getModelService()
-