Profile

Controls the data that can be input into a map of profile attributes recognised by Klaviyo

Constructors

Link copied to clipboard
constructor()
constructor(properties: Map<ProfileKey, Serializable>?)

Functions

Link copied to clipboard
open override fun merge(other: Profile): Profile

Merges attributes from another object into this one

Link copied to clipboard
fun setEmail(email: String): Profile
Link copied to clipboard
fun setExternalId(identifier: String): Profile
Link copied to clipboard
fun setPhoneNumber(phoneNumber: String): Profile
Link copied to clipboard
open override fun setProperty(key: ProfileKey, value: Serializable): Profile

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

open override fun setProperty(key: String, value: Serializable): Profile

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard