VerticalFeedProductTagComponent

@objc(VerticalFeedProductTagComponent)
public final class VerticalFeedProductTagComponent : VerticalFeedItemComponent

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]?
  • VerticalFeedProductTagComponent 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