StoryPromoCodeComponent

data class StoryPromoCodeComponent(id: String, text: String) : StoryComponent

This data class represents the PromoCode component.

Constructors

StoryPromoCodeComponent
Link copied to clipboard
fun StoryPromoCodeComponent(id: String, text: String)

Properties

id
Link copied to clipboard
open override val id: String

Id of the interactive component

text
Link copied to clipboard
val text: String

PromoCode text that the user copied

type
Link copied to clipboard
val type: StoryComponentType

Type of the interactive component