PercentRatedProductReviews

@objc(GFYPercentRatedProductReviews)
public class PercentRatedProductReviews : ProductReviews

Represents product reviews using a 0 to 100 percentile rating scale

  • Creates a PercentRatedProductReviews instance

    Returns nil if percentage is not between 0 and 100 (inclusive)

    Declaration

    Swift

    public init?(percentage: Double?, reviewCount: UInt?)

    Parameters

    percentage

    The percentage rating value

    reviewCount

    The number of reviews