Interface PredictedItem.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PredictedItem.Builder,PredictedItem>, SdkBuilder<PredictedItem.Builder,PredictedItem>, SdkPojo
Enclosing class:
PredictedItem

public static interface PredictedItem.Builder extends SdkPojo, CopyableBuilder<PredictedItem.Builder,PredictedItem>
  • Method Details

    • itemId

      PredictedItem.Builder itemId(String itemId)

      The recommended item ID.

      Parameters:
      itemId - The recommended item ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • score

      A numeric representation of the model's certainty that the item will be the next user selection. For more information on scoring logic, see how-scores-work.

      Parameters:
      score - A numeric representation of the model's certainty that the item will be the next user selection. For more information on scoring logic, see how-scores-work.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • promotionName

      PredictedItem.Builder promotionName(String promotionName)

      The name of the promotion that included the predicted item.

      Parameters:
      promotionName - The name of the promotion that included the predicted item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.