StoryProductCardComponent

data class StoryProductCardComponent(id: String, text: String?, actionUrl: String?, products: List<STRProductItem>?) : StoryComponent

This data class represents the ProductCard component.

Constructors

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

Properties

actionUrl
Link copied to clipboard
val actionUrl: String?

action url assigned to the interactive component

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: StoryComponentType

Type of the interactive component