Interface RecommendationAlgorithmConfiguration
-
@ProviderType public interface RecommendationAlgorithmConfiguration
Abstracts a Target Recommendation configuration information
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetConfigurationAttribute()Extra configuration attribute for the algorithmStringgetConfigurationDataSource()Data source for the selected algorithm.StringgetConfigurationKey()Target Recommendation Algorithm configuration key (e.g.StringgetConfigurationType()Algorithm type for the selected configuration key.DayCountIntervalgetDayCount()Interval to be taken into account by the algorithm.List<RecommendationAlgorithmInclusionRule>getInclusionRules()The inclusion rules for this algorithm.intgetMinInventory()Minimum inventory value for this algorithm Needs to be non-negative to be taken into account.doublegetPriceRangeMax()Price range maximum value for products to be considered by this algorithmdoublegetPriceRangeMin()Price range minimum value for products to be considered by this algorithmStringgetProductConfidence()Product confidence configuration for 'fullDataOptimizing' type algorithms.
-
-
-
Method Detail
-
getConfigurationKey
String getConfigurationKey()
Target Recommendation Algorithm configuration key (e.g. 'currentCategory')- Returns:
- a
Stringrepresentation of the configuration key
-
getConfigurationType
String getConfigurationType()
Algorithm type for the selected configuration key.- Returns:
- a
Stringrepresentation of the algorithm type
-
getConfigurationDataSource
String getConfigurationDataSource()
Data source for the selected algorithm. When not specified it is usually considered an MBox data source- Returns:
- a
Stringrepresentation of algorithm data source
-
getConfigurationAttribute
String getConfigurationAttribute()
Extra configuration attribute for the algorithm- Returns:
- the
Stringrepresenting the configuration attribute
-
getDayCount
DayCountInterval getDayCount()
Interval to be taken into account by the algorithm.- Returns:
- a
DayCountIntervalenum value containing the time interval
-
getPriceRangeMin
double getPriceRangeMin()
Price range minimum value for products to be considered by this algorithm- Returns:
- the minimum price range value
-
getPriceRangeMax
double getPriceRangeMax()
Price range maximum value for products to be considered by this algorithm- Returns:
- the maximum price range value
-
getProductConfidence
String getProductConfidence()
Product confidence configuration for 'fullDataOptimizing' type algorithms. No effect for other algorithm types.- Returns:
- the product confidence configuration string
-
getMinInventory
int getMinInventory()
Minimum inventory value for this algorithm Needs to be non-negative to be taken into account.- Returns:
- the minimum inventory value
-
getInclusionRules
List<RecommendationAlgorithmInclusionRule> getInclusionRules()
The inclusion rules for this algorithm.- Returns:
- a
ListcontainingRecommendationAlgorithmInclusionRuleinclusion rules
-
-