Class DefaultTmaPriceContextMatcher

  • All Implemented Interfaces:
    TmaPriceContextMatcher

    @Deprecated(since="1903",
                forRemoval=true)
    public class DefaultTmaPriceContextMatcher
    extends java.lang.Object
    implements TmaPriceContextMatcher
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 1903.
    Default implementation of the TmaPriceContextMatcher.
    Since:
    6.7
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultTmaPriceContextMatcher()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected TmaEligibilityPriceContextService getEligibilityPriceContextService()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected de.hybris.platform.servicelayer.model.ModelService getModelService()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected de.hybris.platform.europe1.channel.strategies.RetrieveChannelStrategy getRetrieveChannelStrategy()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected boolean isPriceApplicableForProcessesAndTerms​(SubscriptionPricePlanModel subscriptionPricePlan, java.util.Map<TmaProcessType,​java.util.Set<java.lang.String>> eligibleProcessesAndTerms)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      boolean match​(TmaPriceContext priceContext, de.hybris.platform.europe1.jalo.PriceRow priceRow)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Match method verifying whether the given {@param priceRow} is applicable for the {@param priceContext} provided.
      boolean match​(TmaPriceContext priceContext, SubscriptionPricePlanModel subscriptionPricePlan)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Match method verifying whether the given {@param subscriptionPricePlan} is applicable for the {@param priceContext} provided.
      void setEligibilityPriceContextService​(TmaEligibilityPriceContextService eligibilityPriceContextService)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setModelService​(de.hybris.platform.servicelayer.model.ModelService modelService)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setRetrieveChannelStrategy​(de.hybris.platform.europe1.channel.strategies.RetrieveChannelStrategy retrieveChannelStrategy)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultTmaPriceContextMatcher

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

      • match

        public boolean match​(TmaPriceContext priceContext,
                             de.hybris.platform.europe1.jalo.PriceRow priceRow)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: TmaPriceContextMatcher
        Match method verifying whether the given {@param priceRow} is applicable for the {@param priceContext} provided. If the price is a SubscriptionPricePlanModel, it is applicable under the configured TmaPriceContext.processTypes and TmaPriceContext.subscriptionTerms if they are provided. Otherwise, a PriceRow is always applicable. provided.
        Specified by:
        match in interface TmaPriceContextMatcher
        Parameters:
        priceContext - price context containing the configuration the price row should match
        priceRow - price row to be verified
        Returns:
        returns true whether there is a match between the 2 and false otherwise.
      • match

        public boolean match​(TmaPriceContext priceContext,
                             SubscriptionPricePlanModel subscriptionPricePlan)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: TmaPriceContextMatcher
        Match method verifying whether the given {@param subscriptionPricePlan} is applicable for the {@param priceContext} provided. The price is applicable under the configured TmaPriceContext.processTypes and TmaPriceContext.subscriptionTerms if those are provided.
        Specified by:
        match in interface TmaPriceContextMatcher
        Parameters:
        priceContext - price context containing the configuration the price row should match
        subscriptionPricePlan - price to be verified
        Returns:
        returns true whether there is a match between the 2 and false otherwise.
      • isPriceApplicableForProcessesAndTerms

        protected boolean isPriceApplicableForProcessesAndTerms​(SubscriptionPricePlanModel subscriptionPricePlan,
                                                                java.util.Map<TmaProcessType,​java.util.Set<java.lang.String>> eligibleProcessesAndTerms)
        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.
      • getRetrieveChannelStrategy

        protected de.hybris.platform.europe1.channel.strategies.RetrieveChannelStrategy getRetrieveChannelStrategy()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setRetrieveChannelStrategy

        public void setRetrieveChannelStrategy​(de.hybris.platform.europe1.channel.strategies.RetrieveChannelStrategy retrieveChannelStrategy)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getEligibilityPriceContextService

        protected TmaEligibilityPriceContextService getEligibilityPriceContextService()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setEligibilityPriceContextService

        public void setEligibilityPriceContextService​(TmaEligibilityPriceContextService eligibilityPriceContextService)
        Deprecated, for removal: This API element is subject to removal in a future version.