Class DefaultTmaFindPriceStrategy

  • All Implemented Interfaces:
    de.hybris.platform.order.strategies.calculation.FindDiscountValuesStrategy, de.hybris.platform.order.strategies.calculation.FindPriceStrategy, de.hybris.platform.order.strategies.calculation.FindTaxValuesStrategy, de.hybris.platform.order.strategies.calculation.ServiceLayerOnlyCalculationVerifier, de.hybris.platform.servicelayer.user.UserNetCheckingStrategy, java.io.Serializable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

    @Deprecated(since="2007")
    public class DefaultTmaFindPriceStrategy
    extends de.hybris.platform.subscriptionservices.subscription.impl.FindSubscriptionPricingWithCurrentPriceFactoryStrategy
    Deprecated.
    Custom implementation of the FindPricingWithCurrentPriceFactoryStrategy for applying price override values for the calculation of the cart.
    Since:
    6.7
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService

        de.hybris.platform.servicelayer.internal.service.AbstractService.SerializableDTO
    • Field Summary

      • Fields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService

        modelService, sessionService, txManager
      • Fields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService

        tenant
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      de.hybris.platform.util.PriceValue findBasePrice​(AbstractOrderEntryModel entry)
      Deprecated.
       
      protected BillingTimeModel getBillingTimeForPayNow()
      Deprecated.
       
      TmaBillingTimeService getBillingTimeService()
      Deprecated.
       
      protected TmaCommercePriceService getCommercePriceService()
      Deprecated.
       
      protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()
      Deprecated.
       
      protected java.lang.Double getOneTimeChargePriceValue​(SubscriptionPricePlanModel subscriptionPricePlanModel, BillingTimeModel billingTime)
      Deprecated.
      Returns the one time charge of the given {@param subscriptionPricePlanModel} for the {@param billingTime} in case any is found, 0 otherwise.
      void setBillingTimeService​(de.hybris.platform.subscriptionservices.subscription.BillingTimeService billingTimeService)
      Deprecated.
       
      void setConfigurationService​(de.hybris.platform.servicelayer.config.ConfigurationService configurationService)
      Deprecated.
       
      • Methods inherited from class de.hybris.platform.subscriptionservices.subscription.impl.FindSubscriptionPricingWithCurrentPriceFactoryStrategy

        createPriceValueForLastRecurringPrice, findDiscountValues, getDiscountValuesWhenBillingFrequency, getSubscriptionProductService, setCommercePriceService, setSubscriptionProductService
      • Methods inherited from class de.hybris.platform.order.strategies.calculation.impl.FindPricingWithCurrentPriceFactoryStrategy

        afterPropertiesSet, findDiscountValues, findTaxValues, getCurrentPriceFactory, getDiscountInformation, getPriceInformation, getTaxInformation, isNetUser, setApplicationContext
      • Methods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService

        getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManager
      • Methods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService

        getCurrentTenant, setBeanName, setCurrentTenant, writeReplace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface de.hybris.platform.order.strategies.calculation.ServiceLayerOnlyCalculationVerifier

        isSLOnly
    • Constructor Detail

      • DefaultTmaFindPriceStrategy

        public DefaultTmaFindPriceStrategy()
        Deprecated.
    • Method Detail

      • findBasePrice

        @Nonnull
        public de.hybris.platform.util.PriceValue findBasePrice​(@Nonnull
                                                                AbstractOrderEntryModel entry)
                                                         throws de.hybris.platform.order.exceptions.CalculationException
        Deprecated.
        Specified by:
        findBasePrice in interface de.hybris.platform.order.strategies.calculation.FindPriceStrategy
        Overrides:
        findBasePrice in class de.hybris.platform.subscriptionservices.subscription.impl.FindSubscriptionPricingWithCurrentPriceFactoryStrategy
        Throws:
        de.hybris.platform.order.exceptions.CalculationException
      • getOneTimeChargePriceValue

        protected java.lang.Double getOneTimeChargePriceValue​(SubscriptionPricePlanModel subscriptionPricePlanModel,
                                                              BillingTimeModel billingTime)
        Deprecated.
        Returns the one time charge of the given {@param subscriptionPricePlanModel} for the {@param billingTime} in case any is found, 0 otherwise.
        Parameters:
        subscriptionPricePlanModel - the price from which the one time charge is determined
        Returns:
        the one time charge price value
      • getBillingTimeForPayNow

        protected BillingTimeModel getBillingTimeForPayNow()
        Deprecated.
      • getCommercePriceService

        protected TmaCommercePriceService getCommercePriceService()
        Deprecated.
        Overrides:
        getCommercePriceService in class de.hybris.platform.subscriptionservices.subscription.impl.FindSubscriptionPricingWithCurrentPriceFactoryStrategy
      • setBillingTimeService

        public void setBillingTimeService​(de.hybris.platform.subscriptionservices.subscription.BillingTimeService billingTimeService)
        Deprecated.
      • getConfigurationService

        protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()
        Deprecated.
      • setConfigurationService

        public void setConfigurationService​(de.hybris.platform.servicelayer.config.ConfigurationService configurationService)
        Deprecated.