UserRestriction

data class UserRestriction(val name: RestrictionName, val requiredActions: List<RequiredAction>, val lastChangeDate: Calendar?, val id: String, val activationTime: Calendar?, val dueTime: Calendar?)

Data class representing a restriction. Restrictions forbid certain user operations in the wallet. Determine the restricted action based on the restriction name. Check the requiredActions field to determine the course of action for resolving the restrictions.

Constructors

Link copied to clipboard
constructor(name: RestrictionName, requiredActions: List<RequiredAction>, lastChangeDate: Calendar?, id: String, activationTime: Calendar?, dueTime: Calendar?)

Properties

Link copied to clipboard

The time when the restriction is activated in the form of Calendar.

Link copied to clipboard

The due time for fulfilling the restriction in the form of Calendar.

Link copied to clipboard
val id: String

The unique identifier of the restriction.

Link copied to clipboard

The date when the restriction was last changed in the form of Calendar.

Link copied to clipboard

The name of the restriction.

Link copied to clipboard

A list of RequiredAction's to be completed in order to resolve the restriction.