Contains product review and rating information.

interface ProductReviews {
    maxRating: number;
    minRating: number;
    rating: number;
    reviewCount: number;
}

Properties

maxRating: number

The upper bound of the allowable rating range.

minRating: number

The lower bound of the allowable rating range.

rating: number

The product rating rounded to two decimal places.

reviewCount: number

The number of reviews.