Class TmaAbstractOrderCompositePriceBuilder<T extends TmaCompositeProdOfferPriceModel>
java.lang.Object
de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.orderentry.DefaultTmaAbstractOrderEntryPopBuilder<T>
de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.orderentry.impl.TmaAbstractOrderCompositePriceBuilder<T>
- All Implemented Interfaces:
TmaAbstractOrderEntryPopPriceBuilder<T>
- Direct Known Subclasses:
TmaAbstractOrderTierUsageChargeCompositePriceBuilder
public class TmaAbstractOrderCompositePriceBuilder<T extends TmaCompositeProdOfferPriceModel>
extends DefaultTmaAbstractOrderEntryPopBuilder<T>
Builder that creates an
TmaAbstractOrderPriceModel from the composite product offering price- Since:
- 2007
-
Constructor Summary
ConstructorsConstructorDescriptionTmaAbstractOrderCompositePriceBuilder(de.hybris.platform.servicelayer.model.ModelService modelService, TmaRetrieveTaxRateStrategy tmaRetrieveTaxRateStrategy, TmaAbstractOrderDiscountAlterationPriceBuilder tmaAbstractOrderDiscountAlterationPriceBuilder, TmaDiscountService tmaDiscountService, Map<String, TmaAbstractOrderEntryPopPriceBuilder<TmaProductOfferingPriceModel>> productOfferingPriceBuilderMap, de.hybris.platform.europe1.channel.strategies.RetrieveChannelStrategy retrieveChannelStrategy) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbuildChildPrices(TmaCompositeProdOfferPriceModel productOfferingPrice, AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes, TmaAbstractOrderCompositePriceModel price) buildPrice(T 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, getRetrieveChannelStrategy, getTmaAbstractOrderGlobalDiscountAlterationPriceBuilder, getTmaDiscountService, getTmaRetrieveTaxRateStrategy, populateCatalogCode, populateGlobalAlterations, populateName, populatePriceValues
-
Constructor Details
-
TmaAbstractOrderCompositePriceBuilder
public TmaAbstractOrderCompositePriceBuilder(de.hybris.platform.servicelayer.model.ModelService modelService, TmaRetrieveTaxRateStrategy tmaRetrieveTaxRateStrategy, TmaAbstractOrderDiscountAlterationPriceBuilder tmaAbstractOrderDiscountAlterationPriceBuilder, TmaDiscountService tmaDiscountService, Map<String, TmaAbstractOrderEntryPopPriceBuilder<TmaProductOfferingPriceModel>> productOfferingPriceBuilderMap, de.hybris.platform.europe1.channel.strategies.RetrieveChannelStrategy retrieveChannelStrategy)
-
-
Method Details
-
buildPrice
public TmaAbstractOrderPriceModel buildPrice(T 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
-
buildChildPrices
protected void buildChildPrices(TmaCompositeProdOfferPriceModel productOfferingPrice, AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes, TmaAbstractOrderCompositePriceModel price) -
getProductOfferingPriceBuilderMap
protected Map<String,TmaAbstractOrderEntryPopPriceBuilder<TmaProductOfferingPriceModel>> getProductOfferingPriceBuilderMap()
-