Class TmaAbstractOrderOneTimeChargeComponentPriceBuilder
java.lang.Object
de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.orderentry.DefaultTmaAbstractOrderEntryPopBuilder<TmaOneTimeProdOfferPriceChargeModel>
de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.orderentry.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) -
Method Summary
Modifier and TypeMethodDescriptionbuildPrice(TmaOneTimeProdOfferPriceChargeModel 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
-
TmaAbstractOrderOneTimeChargeComponentPriceBuilder
public TmaAbstractOrderOneTimeChargeComponentPriceBuilder(de.hybris.platform.servicelayer.model.ModelService modelService, TmaRetrieveTaxRateStrategy tmaRetrieveTaxRateStrategy)
-
-
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
-