EVGReview Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | EVGItems.h |
itemId
The ID (see [EVGItem evgId]) of the item being reviewed.
@property (nullable, nonatomic, copy) NSString *itemIdDeclared In
EVGItems.h
date
Date and time when the review was submitted.
@property (nullable, nonatomic, strong) NSDate *dateDeclared In
EVGItems.h
rating
Score given to the item in this review, must be normalized to the range 1-100 inclusive.
@property (nullable, nonatomic, strong) NSNumber *ratingDeclared In
EVGItems.h
title
The title of the review.
@property (nullable, nonatomic, copy) NSString *titleDeclared In
EVGItems.h
content
The text content of the review.
@property (nullable, nonatomic, copy) NSString *contentDeclared In
EVGItems.h
userDisplayName
Name to be displayed along with review, may have no relation to actual user ID.
@property (nullable, nonatomic, copy) NSString *userDisplayNameDeclared In
EVGItems.h
purchased
Whether the product was purchased by this user before being reviewed.
@property (nonatomic) BOOL purchasedDeclared In
EVGItems.h
+ reviewWithItemId:date:rating:title:purchased:
Builds review details for an item. This method only builds a data object. To
use it, pass it to one of the tracking methods like [EVGContext review:reviewDetails:].
+ (nonnull instancetype)reviewWithItemId:(nonnull NSString *)itemId date:(nullable NSDate *)date rating:(nullable NSNumber *)rating title:(nullable NSString *)title purchased:(BOOL)purchasedParameters
itemId |
The required |
|---|---|
date |
See |
rating |
See |
title |
See |
purchased |
See |
Return Value
Review details which can be further modified.
Declared In
EVGItems.h