ViolationNotification

data class ViolationNotification(val name: String?, val refersTo: String?, val type: String? = null, val fallbackMessage: String? = null)

A notification that a violation occurred

Constructors

Link copied to clipboard
constructor(name: String?, refersTo: String?, type: String? = null, fallbackMessage: String? = null)

Properties

Link copied to clipboard
val fallbackMessage: String? = null

Non-localized message of the backend which sould be displayed if no localized message is available

Link copied to clipboard
val name: String?

The name of the affected violation item, e.g. a coupon

Link copied to clipboard

The local generated uuid of the affected item

Link copied to clipboard
val type: String? = null

The type of the violation