StoryProductTagComponent
@objc(StoryProductTagComponent)
public final class StoryProductTagComponent : StoryComponent
This class represents the ProductTag component.
-
action url assigned to the interactive component
Declaration
Swift
@objc public let actionUrl: String?
-
products assigned to the interactive component
Declaration
Swift
@objc public let products: [STRProductItem]?
-
StoryProductTagComponent initialization
Declaration
Swift
@objc public init( id: String, actionUrl: String?, products: [STRProductItem]?, customPayload: String? )
Parameters
id
Id of the interactive component
actionUrl
action url assigned to the interactive component
customPayload
Custom payload for ProductTag component if exists