Class DefaultTmaPriceContextMatcher
- java.lang.Object
-
- de.hybris.platform.b2ctelcoservices.pricing.impl.DefaultTmaPriceContextMatcher
-
- All Implemented Interfaces:
TmaPriceContextMatcher
@Deprecated(since="1903", forRemoval=true) public class DefaultTmaPriceContextMatcher extends java.lang.Object implements TmaPriceContextMatcherDeprecated, for removal: This API element is subject to removal in a future version.since 1903.Default implementation of theTmaPriceContextMatcher.- 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 TmaEligibilityPriceContextServicegetEligibilityPriceContextService()Deprecated, for removal: This API element is subject to removal in a future version.protected de.hybris.platform.servicelayer.model.ModelServicegetModelService()Deprecated, for removal: This API element is subject to removal in a future version.protected de.hybris.platform.europe1.channel.strategies.RetrieveChannelStrategygetRetrieveChannelStrategy()Deprecated, for removal: This API element is subject to removal in a future version.protected booleanisPriceApplicableForProcessesAndTerms(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.booleanmatch(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.booleanmatch(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.voidsetEligibilityPriceContextService(TmaEligibilityPriceContextService eligibilityPriceContextService)Deprecated, for removal: This API element is subject to removal in a future version.voidsetModelService(de.hybris.platform.servicelayer.model.ModelService modelService)Deprecated, for removal: This API element is subject to removal in a future version.voidsetRetrieveChannelStrategy(de.hybris.platform.europe1.channel.strategies.RetrieveChannelStrategy retrieveChannelStrategy)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:TmaPriceContextMatcherMatch method verifying whether the given {@param priceRow} is applicable for the {@param priceContext} provided. If the price is aSubscriptionPricePlanModel, it is applicable under the configuredTmaPriceContext.processTypesandTmaPriceContext.subscriptionTermsif they are provided. Otherwise, aPriceRowis always applicable. provided.- Specified by:
matchin interfaceTmaPriceContextMatcher- Parameters:
priceContext- price context containing the configuration the price row should matchpriceRow- 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:TmaPriceContextMatcherMatch method verifying whether the given {@param subscriptionPricePlan} is applicable for the {@param priceContext} provided. The price is applicable under the configuredTmaPriceContext.processTypesandTmaPriceContext.subscriptionTermsif those are provided.- Specified by:
matchin interfaceTmaPriceContextMatcher- Parameters:
priceContext- price context containing the configuration the price row should matchsubscriptionPricePlan- 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.
-
-