StoryProductCatalogComponent

@objc(StoryProductCatalogComponent)
public final class StoryProductCatalogComponent : StoryComponent

This class represents the ProductCatalog component.

  • action url assigned to the interactive component

    Declaration

    Swift

    @objc
    public let actionUrlList: [String]?
  • products assigned to the interactive component

    Declaration

    Swift

    @objc
    public let products: [STRProductItem]?
  • StoryProductCatalogComponent initialization

    Declaration

    Swift

    @objc
    public init(
        id: String,
        actionUrlList: [String]?,
        products: [STRProductItem]?,
        customPayload: String?
    )

    Parameters

    id

    Id of the interactive component

    actionUrlLList

    action url list assigned to the interactive component

    customPayload

    Custom payload for ProductCatalog component if exists