CatalogObject

class CatalogObject @JvmOverloads constructor(val type: String, val id: String, val attributes: Map<String, Any> = mapOf(), val relatedCatalogObjects: Map<String, List<String>> = mapOf())

A catalog object that represents various items that can be tracked. For example, a product, a blog post, and so on.

Constructors

Link copied to clipboard
constructor(type: String, id: String, attributes: Map<String, Any> = mapOf(), relatedCatalogObjects: Map<String, List<String>> = mapOf())

Properties

Link copied to clipboard

A map of user-supplied values.

Link copied to clipboard
val id: String

A unique id representing the catalog object.

Link copied to clipboard

A map of related catalog objects.

Link copied to clipboard

A type name representing the catalog object.