Path

data class Path @JvmOverloads constructor(val type: CustomerCenterConfiguration.PathType, val title: String? = null, val survey: CustomerCenterConfiguration.FeedbackSurvey? = null, val id: String = type.defaultId)(source)

An action row in the Customer Center.

Constructors

Link copied to clipboard
constructor(type: CustomerCenterConfiguration.PathType, title: String? = null, survey: CustomerCenterConfiguration.FeedbackSurvey? = null, id: String = type.defaultId)

Types

Link copied to clipboard
object Companion

Lets a screen list its paths as Path.restore(), Path.refund(window = 86_400_000), Path.url("https://…", title = "FAQ") and so on, rather than spelling out Path(type = …) each time.

Properties

Link copied to clipboard
val id: String

Stable identifier, reported as path_id on Customer Center events. Defaults to PathType.defaultId. Only needed to tell apart two paths that would otherwise share one, such as two paths of the same built-in type.

Link copied to clipboard

Optional survey shown before the action runs.

Link copied to clipboard

Row title. null uses the localized default for type.

Link copied to clipboard