Package-level declarations

Types

Link copied to clipboard
data class AccessToken(var accessToken: String, var tokenType: String, var expiresIn: Int)

Data class representing an access token received from the MTN MOMO API.

Link copied to clipboard
data class ApiKey(val apiKey: String? = null)

This class represents the MTN MOMO API Key that is received by using the Subscription Key and the API ApiUser ID.

Link copied to clipboard
data class ApiUser(val providerCallbackHost: String? = null, val targetEnvironment: String? = null)

This class represents the MTN MOMO API ApiUser.

Link copied to clipboard
data class Oauth2AccessToken(var accessToken: String, var tokenType: String, var expiresIn: Int, var scope: String, var refreshToken: String, var refreshTokenExpiredIn: Int)

This class represents the OAuth2 access token used for authentication with the MTN MOMO API.