BUYProduct Class Reference
| Inherits from | BUYObject : NSObject |
|---|---|
| Declared in | BUYProduct.h |
productId
The product ID
@property (nonatomic, readonly, copy) NSNumber *productIdDeclared In
BUYProduct.h
title
The name of the product. In a shop’s catalog, clicking on a product’s title takes you to that product’s page. On a product’s page, the product’s title typically appears in a large font.
@property (nonatomic, readonly, copy) NSString *titleDeclared In
BUYProduct.h
handle
The handle of the product. Can be used to construct links to the web page for the product
@property (nonatomic, readonly, copy) NSString *handleDeclared In
BUYProduct.h
vendor
The name of the vendor of the product.
@property (nonatomic, readonly, copy) NSString *vendorDeclared In
BUYProduct.h
productType
A categorization that a product can be tagged with, commonly used for filtering and searching.
@property (nonatomic, readonly, copy) NSString *productTypeDeclared In
BUYProduct.h
variants
A list of BUYProductVariant objects, each one representing a slightly different version of the product.
@property (nonatomic, readonly, copy) NSArray<BUYProductVariant*> *variantsDeclared In
BUYProduct.h
images
A list of BUYImage objects, each one representing an image associated with the product.
@property (nonatomic, readonly, copy) NSArray<BUYImage*> *imagesDeclared In
BUYProduct.h
options
Custom product property names like “Size”, “Color”, and “Material”. Products are based on permutations of these options. A product may have a maximum of 3 options. 255 characters limit each.
@property (nonatomic, readonly, copy) NSArray<BUYOption*> *optionsDeclared In
BUYProduct.h
htmlDescription
The description of the product, complete with HTML formatting.
@property (nonatomic, readonly, copy) NSString *htmlDescriptionDeclared In
BUYProduct.h
available
If the product is in stock (see each variant for their specific availability)
@property (nonatomic, readonly, assign) BOOL availableDeclared In
BUYProduct.h
tags
A categorization that a product can be tagged with, commonly used for filtering and searching. Each tag has a character limit of 255.
@property (nonatomic, readonly, copy) NSSet<NSString*> *tagsDeclared In
BUYProduct.h
published
The product is published on the current sales channel
@property (nonatomic, readonly, assign) BOOL publishedDeclared In
BUYProduct.h
createdAtDate
The creation date for a product
@property (nonatomic, readonly, copy) NSDate *createdAtDateDeclared In
BUYProduct.h
updatedAtDate
The updated date for a product
@property (nonatomic, readonly, copy) NSDate *updatedAtDateDeclared In
BUYProduct.h
publishedAtDate
The publish date for a product
@property (nonatomic, readonly, copy) NSDate *publishedAtDateDeclared In
BUYProduct.h