UiConfig

data class UiConfig(val theme: Theme = Theme.isic, val locale: String = "en", val translations: Translations? = null)

UI configuration for Discounts screen - definition of how the screen should look like.

Constructors

Link copied to clipboard
constructor(theme: Theme = Theme.isic, locale: String = "en", translations: Translations? = null)

Properties

Link copied to clipboard

Locale (ISO639‑1) for the content. Default: "en"

Link copied to clipboard

(optional) Colour theme , by default Theme.isic is used. There are two more available: Theme.itic and Theme.iytc. Custom can be provided as well.

Link copied to clipboard

JSON object containing translations. See Translations