Review

Extends Object. Represents a review added to a product. Reviews are available on product pages as the property 'product.reviews'.  

Properties
author

Type Number

The system ID for the author associated with the review.

company

Type String

The company name of the author of the review. 

cons

Type String

The negatives for the product given by the author.

created

Type Date

The date the review was created.

downVotes

Type Number

The number of users who marked the review as unhelpful.

firstname

Type String

The first name of the author of the review.

hasVotes

Type Boolean

True if the review has one or more votes.

id

Type Number

The system ID for the review.

isByUser

Type Boolean

True if the review was written by the current user.

isFlagged

Type Boolean

True if the review has been flagged as inappropriate.

lastname

Type String

The last name of the author of the review.

ordered

Type Date

The date the reviewer ordered the product.

product

Type Number

The system ID for the product associated with the review.

pros

Type String

The positives for the product given by the author.

published

Type Date

The date the review was published.

rating

Type Number

The rating integer left by the author.

thumbnail

Type String

The thumbnail image for the author of the review.

totalVotes

Type Number

The total number of up or down votes combined.

upVotes

Type Number

The number of users who marked the review as helpful.



Methods
fullname()

Returns String

The full name of the author.

hasUserVoted()

Returns Boolean

True if the user has voted up or down.

message()

Returns String

Returns an HTML.