StarRatedProductReviews
@objc(GFYStarRatedProductReviews)
public class StarRatedProductReviews : ProductReviews
Represents product reviews using a 1 to 5 star rating scale
-
Creates a
StarRatedProductReviews
instanceReturns
nil
ifstars
is not between 1 and 5 (inclusive)Declaration
Swift
public init?(stars: Double?, reviewCount: UInt?)
Parameters
stars
The number of stars
reviewCount
The number of reviews