BVReviewSubmission Class Reference

Inherits from BVBaseUGCSubmission
Conforms to *
BVSubmittedReview
Declared in BVReviewSubmission.h

Overview

Class to use to submit a review to the Bazaarvoice platform.

Of the many parameters possible on a BVReviewSubmission, the ones needed for submission depend on your specific implementation.

For a description of possible fields see our API documentation at: https://developer.bazaarvoice.com/docs/read/conversations/reviews/submit/5_4

@availability 4.1.0 and later

– initWithReviewTitle:reviewText:rating:productId:

Create a new BVReviewSubmission.

- (nonnull instancetype)initWithReviewTitle:(nonnull NSString *)reviewTitle reviewText:(nonnull NSString *)reviewText rating:(NSUInteger)rating productId:(nonnull NSString *)productId

Parameters

reviewTitle

The user-provided title of the review.

reviewText

The user-provided body of the review.

rating

The user-provided rating: 1-5.

productId

The productId that this review is associated with.

Declared In

BVReviewSubmission.h

– __unavailable

- (nonnull instancetype)__unavailable

  netPromoterComment

Value is text representing a user comment to explain numerical Net Promoter score.

@property (nullable) NSString *netPromoterComment

Declared In

BVReviewSubmission.h

  netPromoterScore

Value is positive integer between 1 and 10 representing a numerical rating in response to “How would you rate this company?”

@property (nullable) NSNumber *netPromoterScore

Declared In

BVReviewSubmission.h

  isRecommended

Value is true or false; default is null – “true” or “false” answer to “I would recommend this to a friend”. Required dependent on client settings.

@property (nullable) NSNumber *isRecommended

Declared In

BVReviewSubmission.h

  productId

The product id used to filter the review on.

@property (nonnull, readonly) NSString *productId

Declared In

BVReviewSubmission.h

– addAdditionalField:value:

- (void)addAdditionalField:(nonnull NSString *)fieldName value:(nonnull NSString *)value

– addContextDataValueString:value:

- (void)addContextDataValueString:(nonnull NSString *)contextDataValueName value:(nonnull NSString *)value

– addContextDataValueBool:value:

- (void)addContextDataValueBool:(nonnull NSString *)contextDataValueName value:(bool)value

– addRatingQuestion:value:

- (void)addRatingQuestion:(nonnull NSString *)ratingQuestionName value:(NSInteger)value

– addRatingSlider:value:

- (void)addRatingSlider:(nonnull NSString *)ratingQuestionName value:(nonnull NSString *)value

– addPredefinedTagDimension:tagId:value:

- (void)addPredefinedTagDimension:(nonnull NSString *)tagQuestionId tagId:(nonnull NSString *)tagId value:(nonnull NSString *)value

– addFreeformTagDimension:tagNumber:value:

- (void)addFreeformTagDimension:(nonnull NSString *)tagQuestionId tagNumber:(NSInteger)tagNumber value:(nonnull NSString *)value

– addVideoURL:withCaption:

Submit a Youtube video link with UGC

- (void)addVideoURL:(nonnull NSString *)url withCaption:(nullable NSString *)videoCaption

Parameters

url

The full URL string of the Youtube video

videoCaption

The use-provided caption for the video

Declared In

BVReviewSubmission.h