Review
Extends Object. Represents a review added to a product. Reviews are available on product pages as the property 'product.reviews'.
Properties |
---|
author
Number
The system ID for the author associated with the review. |
company
String
The company name of the author of the review. |
cons
String
The negatives for the product given by the author. |
created
Date
The date the review was created. |
downVotes
Number
The number of users who marked the review as unhelpful. |
firstname
String
The first name of the author of the review. |
hasVotes
Boolean
True if the review has one or more votes. |
id
Number
The system ID for the review. |
isByUser
Boolean
True if the review was written by the current user. |
isFlagged
Boolean
True if the review has been flagged as inappropriate. |
lastname
String
The last name of the author of the review. |
ordered
Date
The date the reviewer ordered the product. |
product
Number
The system ID for the product associated with the review. |
pros
String
The positives for the product given by the author. |
published
Date
The date the review was published. |
rating
Number
The rating integer left by the author. |
thumbnail
String
The thumbnail image for the author of the review. |
totalVotes
Number
The total number of up or down votes combined. |
upVotes
Number
The number of users who marked the review as helpful. |
Methods |
---|
fullname()
String
The full name of the author. |
hasUserVoted()
Boolean
True if the user has voted up or down. |
message()
String
Returns an HTML. |