STRProductItem
@objc(STRProductItem)
public class STRProductItem : NSObject
Represents the storyly product
-
Undocumented
Declaration
Swift
@objc public let productId: String
-
Undocumented
Declaration
Swift
@objc public let productGroupId: String
-
Undocumented
Declaration
Swift
@objc public let title: String
-
Undocumented
Declaration
Swift
@objc public let url: String
-
Undocumented
Declaration
Swift
@objc public let desc: String?
-
Undocumented
Declaration
Swift
@objc public let price: Float
-
Undocumented
Declaration
Swift
@objc public let salesPrice: NSNumber?
-
Undocumented
Declaration
Swift
@objc public let currency: String
-
Undocumented
Declaration
Swift
@objc public let imageUrls: [String]?
-
Undocumented
Declaration
Swift
@objc public let variants: [STRProductVariant]?
-
Undocumented
Declaration
Swift
@objc public let ctaText: String?
-
init(productId:
productGroupId: title: url: description: price: salesPrice: currency: imageUrls: variants: ctaText: ) Undocumented
Declaration
Swift
@objc public init(productId: String, productGroupId: String, title: String, url: String, description: String?, price: Float, salesPrice: NSNumber? = nil, currency: String, imageUrls: [String]?, variants: [STRProductVariant]?, ctaText: String? = nil)