BVTransactionItem Class Reference
Inherits from | NSObject |
---|---|
Conforms to | BVAnalyticEvent |
Declared in | BVTransactionItem.h |
Overview
Container class with convenience initializer for required and recommended parameters for items to be included in a Transactional Conversion.
– initWithSku:name:category:price:quantity:imageUrl:
Required - Product External ID.
- (nonnull id)initWithSku:(nonnull NSString *)sku name:(nullable NSString *)name category:(nullable NSString *)category price:(double)price quantity:(int)quantity imageUrl:(nullable NSString *)imageUrl
Parameters
sku |
Required - Product External ID. |
---|---|
name |
Recommended - Product name. |
category |
Recommended - Product category. |
price |
Recommended - Product Price. |
quantity |
Recommended - Purchase quantity. |
imageUrl |
Recommended - Link to product image. |
Return Value
the event object that can be used to submit to Bazaarvoice via the BVPixel API.
Declared In
BVTransactionItem.h
sku
Product External ID.
@property (nonnull, nonatomic, readonly) NSString *sku
Declared In
BVTransactionItem.h
name
Product name.
@property (nullable, nonatomic, readonly) NSString *name
Declared In
BVTransactionItem.h
category
Product category.
@property (nullable, nonatomic, readonly) NSString *category
Declared In
BVTransactionItem.h
imageUrl
Product Price.
@property (nullable, nonatomic, readonly) NSString *imageUrl
Declared In
BVTransactionItem.h
price
Purchase quantity.
@property (nonatomic, assign, readonly) double price
Declared In
BVTransactionItem.h
quantity
Link to product image.
@property (nonatomic, assign, readonly) int quantity
Declared In
BVTransactionItem.h