VerticalFeedSwipeComponent

@objc(VerticalFeedSwipeComponent)
public final class VerticalFeedSwipeComponent : VerticalFeedItemComponent

This class represents the Swipe component.

  • text of the interactive component

    Declaration

    Swift

    @objc
    public let text: String
  • 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]?
  • VerticalFeedSwipeComponent initialization

    Declaration

    Swift

    @objc
    public init(
        id: String,
        text: String,
        actionUrl: String?,
        products: [STRProductItem]?
    )

    Parameters

    id

    Id of the interactive component

    text

    text of the interactive component