TermsResponse

@JsonClass(generateAdapter = true)
data class TermsResponse(@Json(name = "policies") val policies: JsonDict? = null)

This class represent a localized privacy policy for registration Flow.

Constructors

Link copied to clipboard
fun TermsResponse(@Json(name = "policies") policies: JsonDict? = null)

Functions

Link copied to clipboard
fun getLocalizedTerms(userLanguage: String, defaultLanguage: String = "en"): List<LocalizedFlowDataLoginTerms>

Properties

Link copied to clipboard
val policies: JsonDict? = null