Interface RatingData
-
public interface RatingData
Represents the rating data- Since:
- 12.12
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
RatingData.Index
This enumeration defines 10 indexes for separate ratings.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
getComment()
RatingData.Index
getIndex()
java.util.Optional<java.lang.Double>
getScore()
-
-
-
Method Detail
-
getIndex
RatingData.Index getIndex()
- Returns:
- the index of the rating
- Since:
- 12.12
-
getScore
java.util.Optional<java.lang.Double> getScore()
- Returns:
- the optional
Double
with a rating score between 0 and 10 - Since:
- 12.12
-
getComment
java.util.Optional<java.lang.String> getComment()
- Returns:
- the optional
String
that represents a customer comment - Since:
- 12.12
-
-