OnboardingUserInfo

data class OnboardingUserInfo(val userId: String, val firstName: String, val lastName: String, val email: String, val street: String, val houseNumber: String, val city: String, val postalCode: String, val countryCode: String, val dateOfBirth: LocalDate, val phoneNumber: String?)

Structure that details the required user information for retrieving bank verification URL

Except for the user phone number, all fields are mandatory.

Parameters

userId

The user's unique identifier. Must not be blank and no longer than 36 characters.

firstName

The user's first name. Must not be blank.

lastName

The user's last name. Must not be blank.

email

The user's email address. Must not be blank and must follow the standard local-part@domain.tld email format.

street

The user's street address. Must not be blank.

houseNumber

The user's house number. Must not be blank.

city

The user's city. Must not be blank.

postalCode

The user's postal code. Must be a valid German postal code (exactly 5 digits).

countryCode

The user's country code. Must be a valid 2-character ISO 3166-1 alpha-2 country code.

dateOfBirth

The user's date of birth. Must be in the past.

phoneNumber

The user's phone number. Optional. Only digits, plus (+), dashes (-) and spaces are allowed.

Constructors

Link copied to clipboard
constructor(userId: String, firstName: String, lastName: String, email: String, street: String, houseNumber: String, city: String, postalCode: String, countryCode: String, dateOfBirth: LocalDate, phoneNumber: String?)

Properties

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