Class TmaAbstractOrderUsageChargeComponentPriceBuilder
java.lang.Object
de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.orderentry.DefaultTmaAbstractOrderEntryPopBuilder<TmaUsageProdOfferPriceChargeModel>
de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.orderentry.impl.TmaAbstractOrderUsageChargeComponentPriceBuilder
- All Implemented Interfaces:
TmaAbstractOrderEntryPopPriceBuilder<TmaUsageProdOfferPriceChargeModel>
public class TmaAbstractOrderUsageChargeComponentPriceBuilder
extends DefaultTmaAbstractOrderEntryPopBuilder<TmaUsageProdOfferPriceChargeModel>
Builder that creates an
TmaAbstractOrderPriceModel from the usage charge component- Since:
- 2007
-
Constructor Summary
ConstructorsConstructorDescriptionTmaAbstractOrderUsageChargeComponentPriceBuilder(de.hybris.platform.servicelayer.model.ModelService modelService, TmaRetrieveTaxRateStrategy tmaRetrieveTaxRateStrategy, TmaAbstractOrderDiscountAlterationPriceBuilder tmaAbstractOrderDiscountAlterationPriceBuilder, TmaDiscountService tmaDiscountService, de.hybris.platform.europe1.channel.strategies.RetrieveChannelStrategy retrieveChannelStrategy, TmaDiscountRowDao tmaDiscountRowDao) -
Method Summary
Modifier and TypeMethodDescriptionbuildPrice(TmaUsageProdOfferPriceChargeModel productOfferingPrice, AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes) Builds aTmaAbstractOrderPriceModelfor the given param.buildPrice(TmaUsageProdOfferPriceChargeModel productOfferingPrice, AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes, boolean isTheMainPop) Builds aTmaAbstractOrderPriceModelfor the given param.Methods inherited from class de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.orderentry.DefaultTmaAbstractOrderEntryPopBuilder
createPriceContextForDiscountRows, getGlobalAlterationsFromPOPDiscounts, getModelService, getRetrieveChannelStrategy, getTmaAbstractOrderGlobalDiscountAlterationPriceBuilder, getTmaDiscountRowDao, getTmaDiscountService, getTmaRetrieveTaxRateStrategy, populateCatalogCode, populateGlobalAlterations, populateName, populatePriceAlterations, populatePriceValues
-
Constructor Details
-
TmaAbstractOrderUsageChargeComponentPriceBuilder
public TmaAbstractOrderUsageChargeComponentPriceBuilder(de.hybris.platform.servicelayer.model.ModelService modelService, TmaRetrieveTaxRateStrategy tmaRetrieveTaxRateStrategy, TmaAbstractOrderDiscountAlterationPriceBuilder tmaAbstractOrderDiscountAlterationPriceBuilder, TmaDiscountService tmaDiscountService, de.hybris.platform.europe1.channel.strategies.RetrieveChannelStrategy retrieveChannelStrategy, TmaDiscountRowDao tmaDiscountRowDao)
-
-
Method Details
-
buildPrice
public TmaAbstractOrderPriceModel buildPrice(TmaUsageProdOfferPriceChargeModel 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
-
buildPrice
public TmaAbstractOrderPriceModel buildPrice(TmaUsageProdOfferPriceChargeModel productOfferingPrice, AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes, boolean isTheMainPop) 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 priceisTheMainPop- specifies if the pop is the main one or not- Returns:
- the list of order entry prices
-