Interface RatingData


public interface RatingData
Represents the rating data
Since:
12.12
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    This enumeration defines 10 indexes for separate ratings.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the optional String that represents a customer comment.
    Returns the index of the rating.
    Returns the optional Double with a rating score between 0 and 10.
  • Method Details

    • getIndex

      RatingData.Index getIndex()
      Returns the index of the rating.
      Returns:
      the index of the rating
      Since:
      12.12
    • getScore

      Optional<Double> getScore()
      Returns the optional Double with a rating score between 0 and 10.
      Returns:
      the optional Double with a rating score between 0 and 10
      Since:
      12.12
    • getComment

      Optional<String> getComment()
      Returns the optional String that represents a customer comment.
      Returns:
      the optional String that represents a customer comment
      Since:
      12.12