public class Review
extends java.lang.Object
A review score is in the range [0..1].
Modifier | Constructor and Description |
---|---|
protected |
Review() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthor()
Custom name of the author of the review, not tied to a customer name.
|
org.joda.time.DateTime |
getCreatedAt()
Time when this review was created, in UTC.
|
java.lang.String |
getCustomerId()
Id of the customer who wrote the product review.
|
java.lang.String |
getId()
The unique id.
|
VersionedId |
getIdAndVersion()
The
id plus version. |
org.joda.time.DateTime |
getLastModifiedAt()
Time when this review was last modified, in UTC.
|
java.lang.String |
getProductId()
Id of the product for which this review was written.
|
java.lang.Double |
getScore()
Score of the review, in the range [0..1].
|
java.lang.String |
getText()
Text of the review.
|
java.lang.String |
getTitle()
Title of the review.
|
java.lang.String |
toString() |
@Nonnull public java.lang.String getId()
@Nonnull public VersionedId getIdAndVersion()
id
plus version.@Nonnull public java.lang.String getProductId()
@Nonnull public java.lang.String getCustomerId()
public java.lang.String getAuthor()
public java.lang.String getTitle()
public java.lang.String getText()
public java.lang.Double getScore()
@Nonnull public org.joda.time.DateTime getCreatedAt()
@Nonnull public org.joda.time.DateTime getLastModifiedAt()
public java.lang.String toString()
toString
in class java.lang.Object