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 String
getConfigurationAttribute()
Extra configuration attribute for the algorithmString
getConfigurationDataSource()
Data source for the selected algorithm.String
getConfigurationKey()
Target Recommendation Algorithm configuration key (e.g.String
getConfigurationType()
Algorithm type for the selected configuration key.DayCountInterval
getDayCount()
Interval to be taken into account by the algorithm.List<RecommendationAlgorithmInclusionRule>
getInclusionRules()
The inclusion rules for this algorithm.int
getMinInventory()
Minimum inventory value for this algorithm Needs to be non-negative to be taken into account.double
getPriceRangeMax()
Price range maximum value for products to be considered by this algorithmdouble
getPriceRangeMin()
Price range minimum value for products to be considered by this algorithmString
getProductConfidence()
Product confidence configuration for 'fullDataOptimizing' type algorithms.
-
-
-
Method Detail
-
getConfigurationKey
String getConfigurationKey()
Target Recommendation Algorithm configuration key (e.g. 'currentCategory')- Returns:
- a
String
representation of the configuration key
-
getConfigurationType
String getConfigurationType()
Algorithm type for the selected configuration key.- Returns:
- a
String
representation 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
String
representation of algorithm data source
-
getConfigurationAttribute
String getConfigurationAttribute()
Extra configuration attribute for the algorithm- Returns:
- the
String
representing the configuration attribute
-
getDayCount
DayCountInterval getDayCount()
Interval to be taken into account by the algorithm.- Returns:
- a
DayCountInterval
enum 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
List
containingRecommendationAlgorithmInclusionRule
inclusion rules
-
-