ProductRecommendationRule Class
Represents a product recommendation rule that is evaluated during product configuration. Product recommendation rules suggest additional products to users based on configuration conditions.
-
ProductRecommendationRule Constructor
Learn more about the constructor that’s available with the ProductRecommendationRule class.
-
ProductRecommendationRule Properties
Contains properties to store product recommendation rule details from configuration rule evaluation.
Learn more about the constructor that’s available with the ProductRecommendationRule class.
The ProductRecommendationRule class includes this constructor.
-
ProductRecommendationRule(referenceId, productIds, message, recordType, target, scope)
Constructor to create a ProductRecommendationRule instance with the specified recommendation details.
Constructor to create a ProductRecommendationRule instance with the specified recommendation details.
public ProductRecommendationRule(String referenceId, List<String> productIds, String message, String recordType, String target, String scope)
referenceId
Type: String
The reference ID of the product recommendation rule.
productIds
Type: List<String>
List of product IDs that are recommended.
message
Type: String
The message to display with the product recommendation.
recordType
Type: String
The record type associated with the recommendation.
target
Type: String
The target of the recommendation rule.
scope
Type: String
The scope of the recommendation rule.
Contains properties to store product recommendation rule details from configuration rule evaluation.
The ProductRecommendationRule class includes these properties.
-
Get the message value.
-
Get the list of productid.
-
Get the recordtype value.
-
Get the ID of the reference.
-
Get the scope value.
-
Get the target value.
Get the message value.
public String message {get; set;}
Type: String
Get the list of productid.
public List<String> productIds {get; set;}
Type: List<String>
Get the recordtype value.
public String recordType {get; set;}
Type: String
Get the ID of the reference.
public String referenceId {get; set;}
Type: String
Get the scope value.
public String scope {get; set;}
Type: String
Get the target value.
public String target {get; set;}
Type: String