Class DefaultTmaPriceOverrideService

    • Constructor Detail

      • DefaultTmaPriceOverrideService

        public DefaultTmaPriceOverrideService()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • getMinimumPrice

        protected PriceRowModel getMinimumPrice​(SubscriptionPricePlanModel bpoPrice,
                                                PriceRowModel spoPrice)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Returns the minimum price between the ones provided. Method compares both SubscriptionPricePlanModel and PriceRowModel, as it compares spo to bpo price.
        Parameters:
        bpoPrice - bpo price to be used for comparison
        spoPrice - spo stand alone price to be used for comparison
        Returns:
        minimum between the provided prices
      • getMinimumApplicablePriceForContext

        public PriceRowModel getMinimumApplicablePriceForContext​(TmaPriceContext priceContext)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: TmaPriceOverrideService
        Retrieves the minimum PriceRowModel which may be applicable for the context and the {@param priceContext#product} given, be it either the stand alone price of the product or a price override for which the {@param priceContext#product} represents the SubscriptionPricePlanModel.getAffectedProductOffering() of the price, regardless of the required products and price class. This represents the "starting from" price which can be taken by the {@param priceContext#product} under certain conditions.
        Specified by:
        getMinimumApplicablePriceForContext in interface TmaPriceOverrideService
        Parameters:
        priceContext - priceContext to retrieve the configuration from
        Returns:
        minimum PriceRowModel applicable for the {@param priceContext#product} given
      • getSubscriptionPricePlanDao

        protected TmaSubscriptionPricePlanDao getSubscriptionPricePlanDao()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setSubscriptionPricePlanDao

        public void setSubscriptionPricePlanDao​(TmaSubscriptionPricePlanDao subscriptionPricePlanDao)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setSubscriptionPricePlanModelComparator

        public void setSubscriptionPricePlanModelComparator​(SubscriptionPricePlanModelComparator subscriptionPricePlanModelComparator)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getSubscriptionPricePlanModelComparator

        protected SubscriptionPricePlanModelComparator getSubscriptionPricePlanModelComparator()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getPriceRowComparator

        protected PriceRowModelComparator getPriceRowComparator()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setPriceRowComparator

        public void setPriceRowComparator​(PriceRowModelComparator priceRowModelComparator)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getPriceFactory

        protected TmaEurope1PriceFactory getPriceFactory()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setPriceFactory

        public void setPriceFactory​(TmaEurope1PriceFactory priceFactory)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getModelService

        protected de.hybris.platform.servicelayer.model.ModelService getModelService()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setModelService

        public void setModelService​(de.hybris.platform.servicelayer.model.ModelService modelService)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getCommercePriceService

        protected TmaCommercePriceService getCommercePriceService()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setCommercePriceService

        public void setCommercePriceService​(TmaCommercePriceService commercePriceService)
        Deprecated, for removal: This API element is subject to removal in a future version.