Class TmaAbstractOrderUsageChargesPriceBuilder
java.lang.Object
de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.orderentry.DefaultTmaAbstractOrderEntryPriceBuilder
de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.orderentry.impl.TmaAbstractOrderUsageChargesPriceBuilder
- All Implemented Interfaces:
TmaAbstractOrderEntryPriceBuilder
@Deprecated(since="2007")
public class TmaAbstractOrderUsageChargesPriceBuilder
extends DefaultTmaAbstractOrderEntryPriceBuilder
Deprecated.
since 2007. The usageChargeType is now set on the parent composite charge not on the entry.
Builder that creates a list of
TmaAbstractOrderPriceModel
from the list of usage charges set on the price- Since:
- 2007
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TmaAbstractOrderUsageChargePriceModelcreateAbstractOrderUsageChargePrice(UsageChargeEntryModel usageChargeEntry, AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes) Deprecated.protected List<TmaAbstractOrderPriceModel>createPrices(PriceRowModel price, AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes) Deprecated.Creates a list ofTmaAbstractOrderPriceModelbased on the param.protected List<TmaAbstractOrderPriceModel>createPrices(SubscriptionPricePlanModel price, AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes) Deprecated.protected booleanshouldCreatePrices(PriceRowModel price) Deprecated.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
-
TmaAbstractOrderUsageChargesPriceBuilder
public TmaAbstractOrderUsageChargesPriceBuilder()Deprecated.
-
-
Method Details
-
shouldCreatePrices
Deprecated.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) Deprecated.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
-
createPrices
protected List<TmaAbstractOrderPriceModel> createPrices(SubscriptionPricePlanModel price, AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes) Deprecated. -
createAbstractOrderUsageChargePrice
protected TmaAbstractOrderUsageChargePriceModel createAbstractOrderUsageChargePrice(UsageChargeEntryModel usageChargeEntry, AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes) Deprecated.
-