Class TmaAbstractOrderDiscountAlterationComponentPriceBuilder
java.lang.Object
de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.orderentry.DefaultTmaAbstractOrderEntryPopBuilder<TmaDiscountProdOfferPriceAlterationModel>
de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.orderentry.impl.TmaAbstractOrderDiscountAlterationComponentPriceBuilder
- All Implemented Interfaces:
TmaAbstractOrderEntryPopPriceBuilder<TmaDiscountProdOfferPriceAlterationModel>
public class TmaAbstractOrderDiscountAlterationComponentPriceBuilder
extends DefaultTmaAbstractOrderEntryPopBuilder<TmaDiscountProdOfferPriceAlterationModel>
Builder that creates an
TmaAbstractOrderPriceModel from the discount price alteration component- Since:
- 2007
-
Constructor Summary
ConstructorsConstructorDescriptionTmaAbstractOrderDiscountAlterationComponentPriceBuilder(de.hybris.platform.servicelayer.model.ModelService modelService, TmaRetrieveTaxRateStrategy tmaRetrieveTaxRateStrategy) -
Method Summary
Modifier and TypeMethodDescriptionbuildPrice(TmaDiscountProdOfferPriceAlterationModel productOfferingPrice, AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes) Builds aTmaAbstractOrderPriceModelfor the given param.Methods inherited from class de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.orderentry.DefaultTmaAbstractOrderEntryPopBuilder
getModelService, getTmaRetrieveTaxRateStrategy, populateCatalogCode, populateName, populatePriceValues
-
Constructor Details
-
TmaAbstractOrderDiscountAlterationComponentPriceBuilder
public TmaAbstractOrderDiscountAlterationComponentPriceBuilder(de.hybris.platform.servicelayer.model.ModelService modelService, TmaRetrieveTaxRateStrategy tmaRetrieveTaxRateStrategy)
-
-
Method Details
-
buildPrice
public TmaAbstractOrderPriceModel buildPrice(TmaDiscountProdOfferPriceAlterationModel productOfferingPrice, AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes) Description copied from interface:TmaAbstractOrderEntryPopPriceBuilderBuilds aTmaAbstractOrderPriceModelfor the given param.- Parameters:
productOfferingPrice- the product offering price used to create and populate the order entry prices listentry- the order entry for which the price is createdtaxes- the taxes to be applied on the order price- Returns:
- the list of order entry prices
-