BasicUserInfo

data class BasicUserInfo(var sub: String, var name: String, var givenName: String, var familyName: String, var birthDate: String, var locale: String, var gender: String, var updatedAt: Int, var displayUpdatedAt: String = "")

Data class representing basic user information returned by the MTN MOMO API.

Constructors

Link copied to clipboard
constructor(sub: String, name: String, givenName: String, familyName: String, birthDate: String, locale: String, gender: String, updatedAt: Int, displayUpdatedAt: String = "")

Properties

Link copied to clipboard

The birthdate of the user.

Link copied to clipboard

A human-readable formatted version of updatedAt; computed locally, not present in the API response.

Link copied to clipboard

The family name of the user.

Link copied to clipboard

The gender of the user.

Link copied to clipboard

The given name of the user.

Link copied to clipboard

The locale of the user.

Link copied to clipboard

The full name of the user.

Link copied to clipboard
var sub: String

The subject identifier for the user.

Link copied to clipboard

The last updated timestamp as a Unix epoch integer (seconds).