VerticalFeedItemSwipeComponent

data class VerticalFeedItemSwipeComponent(id: String, text: String, actionUrl: String?, products: List<STRProductItem>?, customPayload: String?) : VerticalFeedItemComponent

This data class represents the Swipe component.

Constructors

VerticalFeedItemSwipeComponent
Link copied to clipboard
fun VerticalFeedItemSwipeComponent(id: String, text: String, actionUrl: String?, products: List<STRProductItem>?, customPayload: String?)

Properties

actionUrl
Link copied to clipboard
val actionUrl: String?
customPayload
Link copied to clipboard
open override val customPayload: String?

Custom payload for this Swipe component if exists

id
Link copied to clipboard
open override val id: String

Id of the interactive component

products
Link copied to clipboard
val products: List<STRProductItem>?

products assigned to the interactive component

text
Link copied to clipboard
val text: String

text of the interactive component

type
Link copied to clipboard
val type: VerticalFeedItemComponentType

Type of the interactive component