setProperty

abstract fun setProperty(key: Key, value: Serializable): BaseModel<Key, Self>

Adds a custom property to the map. Custom attributes can define any key name that isn't already reserved by Klaviyo


abstract fun setProperty(key: String, value: Serializable): BaseModel<Key, Self>

Add a custom property to the map. Custom attributes can define any key name that isn't already reserved by Klaviyo