Class TmaAbstractOrderRecurringChargePriceBuilder
java.lang.Object
de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.orderentry.DefaultTmaAbstractOrderEntryPriceBuilder
de.hybris.platform.b2ctelcoservices.pricing.strategy.builder.orderentry.impl.TmaAbstractOrderRecurringChargePriceBuilder
- All Implemented Interfaces:
TmaAbstractOrderEntryPriceBuilder
public class TmaAbstractOrderRecurringChargePriceBuilder
extends DefaultTmaAbstractOrderEntryPriceBuilder
Builder that creates a list of
TmaAbstractOrderPriceModel from the list of recurring charges set on the price.- Since:
- 1907
-
Constructor Summary
Constructors -
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 List<TmaAbstractOrderPriceModel>createPrices(SubscriptionPricePlanModel price, AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes) 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
-
TmaAbstractOrderRecurringChargePriceBuilder
public TmaAbstractOrderRecurringChargePriceBuilder()
-
-
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
-
createPrices
protected List<TmaAbstractOrderPriceModel> createPrices(SubscriptionPricePlanModel price, AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes)
-