Class YMKSearchBusinessRating1xObjectMetadata

Snippet for company ratings.

Score from 0 to 5.

Class Methods

Properties

ratings

Total number of ratings.

reviews

Total number of reviews.

score

Average rating score for the company (0 to 5).

Method Detail

+businessRating1xObjectMetadataWithRatings:reviews:score:

+ (nonnull YMKSearchBusinessRating1xObjectMetadata *)businessRating1xObjectMetadataWithRatings:(NSUInteger)ratings
                                                                                       reviews:(NSUInteger)reviews
                                                                                         score:(nullable NSNumber *)score 

Property Detail

ratings

(assign, readonly) NSUInteger ratings

Total number of ratings.

reviews

(assign, readonly) NSUInteger reviews

Total number of reviews.

score

(assign, readonly) NSNumber * score

Average rating score for the company (0 to 5).

Optional property, can be null.