Brand

data class Brand(val brandId: String, val brandName: String, val brandColor: RgbColorTriplet? = null, val brandTextColor: RgbColorTriplet? = null)(source)

A service brand with its visual identity.

Constructors

Link copied to clipboard
constructor(brandId: String, brandName: String, brandColor: RgbColorTriplet? = null, brandTextColor: RgbColorTriplet? = null)

Properties

Link copied to clipboard
@SerialName(value = "brand_color")
val brandColor: RgbColorTriplet?

Color identifying the service brand to be displayed to the riders.

Link copied to clipboard
@SerialName(value = "brand_id")
val brandId: String

Unique identifier of the service brand. This value should remain the same over the availability of the service.

Link copied to clipboard
@SerialName(value = "brand_name")
val brandName: String

Name of the service brand to be displayed to the riders.

Link copied to clipboard
@SerialName(value = "brand_text_color")
val brandTextColor: RgbColorTriplet?

Color used for displaying text over the brand_color. For visual-accessibility reasons, the brand_text_color must highly contrast with the brand_color (e.g. a dark brand_color should be paired with a white brand_text_color; a light brand_color should be paired with a black brand_text_color).