OnboardingUserInfo

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

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.