PathType

sealed class PathType(source)

The kinds of path the Customer Center supports.

Inheritors

Types

Link copied to clipboard
data class ChangePlan(val productIds: List<String>? = null) : CustomerCenterConfiguration.PathType
Link copied to clipboard
Link copied to clipboard
data class Custom(val identifier: String) : CustomerCenterConfiguration.PathType
Link copied to clipboard
Link copied to clipboard
data class Refund(val windowMillis: Long? = null) : CustomerCenterConfiguration.PathType
Link copied to clipboard
Link copied to clipboard
data class Url(val url: String, val openMethod: CustomerCenterConfiguration.OpenMethod = OpenMethod.IN_APP) : CustomerCenterConfiguration.PathType

Opens a URL. Unlike the other types, a URL has no name the SDK can give it, so set the row's title on Path.title — the Path.url shorthand requires one. Without a title the row shows the URL's host, which is the same for every link to one site, so FAQ, terms and privacy would read identically.

Properties

Link copied to clipboard

The ID a path gets when none is given: the type's name for the built-in types, the URL's host and path for a URL path, and the identifier for a custom path.