STRProductVariant

data class STRProductVariant(name: String, value: String, key: String)

Data class that represents the variant of the storyly product

Constructors

STRProductVariant
Link copied to clipboard
fun STRProductVariant(name: String, value: String, key: String)

Properties

key
Link copied to clipboard
var key: String

Identifier of the variant, same with the xml tag of the variant in the product feed

name
Link copied to clipboard
var name: String

The name or label of the variant can be changed based on localization

value
Link copied to clipboard
var value: String

The value or specific option associated with the variant