Class TmaAbstractOrderOneTimeChargeComponentPriceBuilder
java.lang.Object
de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.orderentry.DefaultTmaAbstractOrderEntryPopBuilder<TmaOneTimeProdOfferPriceChargeModel>
de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.orderentry.impl.TmaAbstractOrderOneTimeChargeComponentPriceBuilder
- All Implemented Interfaces:
TmaAbstractOrderEntryPopPriceBuilder<TmaOneTimeProdOfferPriceChargeModel>
public class TmaAbstractOrderOneTimeChargeComponentPriceBuilder
extends DefaultTmaAbstractOrderEntryPopBuilder<TmaOneTimeProdOfferPriceChargeModel>
Builder that creates an
TmaAbstractOrderPriceModel from the one time charge component- Since:
- 2007
-
Constructor Summary
ConstructorsConstructorDescriptionTmaAbstractOrderOneTimeChargeComponentPriceBuilder(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(TmaOneTimeProdOfferPriceChargeModel productOfferingPrice, AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes) Builds aTmaAbstractOrderPriceModelfor the given param.buildPrice(TmaOneTimeProdOfferPriceChargeModel 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
-
TmaAbstractOrderOneTimeChargeComponentPriceBuilder
public TmaAbstractOrderOneTimeChargeComponentPriceBuilder(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(TmaOneTimeProdOfferPriceChargeModel 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(TmaOneTimeProdOfferPriceChargeModel 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
-