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