Class YMKSearchBusinessRating2xObjectMetadata

Snippet for business ratings.

Score from 0 to 10.

Class Methods

Properties

ratings

Total number of ratings.

reviews

Total number of reviews.

score

Average rating score for the business (0 to 10).

Method Detail

+businessRating2xObjectMetadataWithRatings:reviews:score:

+ (nonnull YMKSearchBusinessRating2xObjectMetadata *)businessRating2xObjectMetadataWithRatings:(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 business (0 to 10).

Optional property, can be null.