Newer Version Available
DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
| Inherits from | Declared in |
|---|---|
NSObject | EVGItems.h |
A user-created review of an item.
The ID (see [EVGItem evgId]) of the item being reviewed.
1@property (nullable, nonatomic, copy) NSString *itemIdDate and time when the review was submitted.
1@property (nullable, nonatomic, strong) NSDate *dateScore given to the item in this review, must be normalized to the range 1-100 inclusive.
1@property (nullable, nonatomic, strong) NSNumber *ratingThe title of the review.
1@property (nullable, nonatomic, copy) NSString *titleThe text content of the review.
1@property (nullable, nonatomic, copy) NSString *contentName to be displayed along with review, may have no relation to actual user ID.
1@property (nullable, nonatomic, copy) NSString *userDisplayNameWhether the product was purchased by this user before being reviewed.
1@property (nonatomic) BOOL purchasedBuilds 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:].
1+ (nonnull instancetype)reviewWithItemId:(nonnull NSString *)itemId date:(nullable NSDate *)date rating:(nullable NSNumber *)rating title:(nullable NSString *)title purchased:(BOOL)purchasedParameters
| Parameter | Description |
|---|---|
itemId | The required [EVGItem evgId] of the item being reviewed |
date | See date |
rating | See rating |
title | See title |
purchased | See purchased |
Return Value
Review details which can be further modified.
Newer Version Available