PartyTypes

Enum class representing the different party identifier types in the MTN MOMO system.

Used as the typed partyIdType on io.rekast.sdk.model.Party. Serialized by constant name (e.g. MSISDN) to match the API body format; the lowercase partyType is used for URL path segments such as the account-holder validation endpoint.

Entries

Link copied to clipboard

Represents a mobile number as the account holder type.

Link copied to clipboard

Represents an email address as the account holder type.

Link copied to clipboard

Represents a party code as the account holder type.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The lowercase string representation used in URL path segments.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.