Class TmaAbstractOrderProductOfferingPriceBuilder
java.lang.Object
de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.orderentry.DefaultTmaAbstractOrderEntryPriceBuilder
de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.orderentry.impl.TmaAbstractOrderProductOfferingPriceBuilder
- All Implemented Interfaces:
TmaAbstractOrderEntryPriceBuilder
public class TmaAbstractOrderProductOfferingPriceBuilder
extends DefaultTmaAbstractOrderEntryPriceBuilder
Builder that creates a list of
TmaAbstractOrderPriceModel from the Product Offering Price set on the price- Since:
- 2007
-
Constructor Summary
ConstructorsConstructorDescriptionTmaAbstractOrderProductOfferingPriceBuilder(Map<String, TmaAbstractOrderEntryPopPriceBuilder> productOfferingPriceBuilderMap) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<TmaAbstractOrderPriceModel>createPrices(PriceRowModel price, AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes) Creates a list ofTmaAbstractOrderPriceModelbased on the param.protected Map<String,TmaAbstractOrderEntryPopPriceBuilder> protected booleanshouldCreatePrices(PriceRowModel price) Verify is the list of prices for order entry should be createdMethods inherited from class de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.orderentry.DefaultTmaAbstractOrderEntryPriceBuilder
buildPrices, getKeyGenerator, getModelService, getSubscriptionTermService, getTmaRetrieveTaxRateStrategy, populateBillingTime, populatePriceValues, retrieveDefaultBillingTime, setKeyGenerator, setModelService, setSubscriptionTermService, setTmaRetrieveTaxRateStrategy
-
Constructor Details
-
TmaAbstractOrderProductOfferingPriceBuilder
public TmaAbstractOrderProductOfferingPriceBuilder(Map<String, TmaAbstractOrderEntryPopPriceBuilder> productOfferingPriceBuilderMap)
-
-
Method Details
-
shouldCreatePrices
Description copied from class:DefaultTmaAbstractOrderEntryPriceBuilderVerify is the list of prices for order entry should be created- Specified by:
shouldCreatePricesin classDefaultTmaAbstractOrderEntryPriceBuilder- Parameters:
price- the priceCharge based on which the order entry priceCharge should be created- Returns:
- Returns true if the condition that verifies if prices should be created is fulfilled, otherwise false
-
createPrices
protected List<TmaAbstractOrderPriceModel> createPrices(PriceRowModel price, AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes) Description copied from class:DefaultTmaAbstractOrderEntryPriceBuilderCreates a list ofTmaAbstractOrderPriceModelbased on the param.- Specified by:
createPricesin classDefaultTmaAbstractOrderEntryPriceBuilder- Parameters:
price- the priceCharge used to create and populate the prices listentry- the entry for which the priceCharge is computedtaxes- the taxes that should be applied on the order entry priceCharge- Returns:
- the created and populated priceCharge list
-
getProductOfferingPriceBuilderMap
-