//Granify Android SDK/com.granifyinc.granifysdk.models/StringOrInt
StringOrInt
@Serializable(with = StringOrIntSerializer::class)
sealed class StringOrInt
Discriminated union type for a String or Int for use in Product.customProperties.
Holds a String or an Int, but not both.
Inheritors
StringWrapper |
IntWrapper |
Types
Name | Summary |
---|---|
IntWrapper | [androidJvm] class IntWrapper(val int: Int) : StringOrInt A wrapper around Int. |
StringWrapper | [androidJvm] class StringWrapper(val string: String) : StringOrInt A wrapper around String. |