Skip to content

Instantly share code, notes, and snippets.

@Ochornma
Created December 4, 2022 20:26
Show Gist options
  • Save Ochornma/f4d0c5ac611160fe01b6016f72661f0a to your computer and use it in GitHub Desktop.
Save Ochornma/f4d0c5ac611160fe01b6016f72661f0a to your computer and use it in GitHub Desktop.
data class SelfieVerificationRequest(
val tag: String,
val documentType: SelfieVerificationDocument,
val documentId: String,
val residence: Residence,
val userId: String,
val firstName: String,
val lastName: String,
val email: String,
val birthDate: String)
enum class SelfieVerificationDocument(val raw: String) {
DRIVERS_LICENSE("DRIVERS_LICENSE"), PASSPORT("PASSPORT"), VOTER_ID("VOTER_ID"),
NATIONAL_ID("NATIONAL_ID")
}
enum class Residence(val country: String, val countryPrefix: String, val displayCountry: String) {
NIGERIA("NGA", "NG", "Nigeria"),
GHANA("GHA", "GH", "Ghana"),
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment