BVRecommendationsRequest Class Reference

Inherits from NSObject
Declared in BVRecommendationsRequest.h

Overview

Recommendations can be requested with a limit and optional productId and

categoryId filtering.

When filtered to a `productId`, the recommendations will be largely related

to that product.

When filtered to a `categoryId`, the recommendations will be limited to

products in that category.

`limit` is the maximum number of recommendations to load. Suggested: 20.

Max: 50.

– initWithLimit:

- (instancetype)initWithLimit:(NSUInteger)limit

– initWithLimit:withProductId:

- (instancetype)initWithLimit:(NSUInteger)limit withProductId:(NSString *)productId

– initWithLimit:withCategoryId:

- (instancetype)initWithLimit:(NSUInteger)limit withCategoryId:(NSString *)categoryId

– init

Unavailable - use initWithLimit: instead

- (instancetype)init

Declared In

BVRecommendationsRequest.h

– new

Unavailable - use initWithLimit: instead

- (instancetype)new

Declared In

BVRecommendationsRequest.h

  productId

@property (nullable, readonly) NSString *productId

  categoryId

@property (nullable, readonly) NSString *categoryId

  limit

@property (readonly) NSUInteger limit

  averageRating

@property (nullable, nonatomic, strong) NSNumber *averageRating

  brandId

@property (nullable, nonatomic, strong) NSString *brandId

  interest

@property (nullable, nonatomic, strong) NSString *interest

  locale

@property (nullable, nonatomic, strong) NSLocale *locale

  purpose

@property (nonatomic, assign) BVRecommendationsRequestPurpose purpose

  requiredCategory

@property (nullable, nonatomic, strong) NSString *requiredCategory

– addInclude:

- (nonnull instancetype)addInclude:(BVRecommendationsRequestInclude)include