Onboarding User Info
constructor(userId: String, firstName: String, lastName: String, email: String, street: String, houseNumber: String, city: String, postalCode: String, countryCode: String, dateOfBirth: LocalDate, phoneNumber: String?)
Parameters
user Id
The user's unique identifier. Must not be blank and no longer than 36 characters.
first Name
The user's first name. Must not be blank.
last Name
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.
house Number
The user's house number. Must not be blank.
city
The user's city. Must not be blank.
postal Code
The user's postal code. Must be a valid German postal code (exactly 5 digits).
country Code
The user's country code. Must be a valid 2-character ISO 3166-1 alpha-2 country code.
date Of Birth
The user's date of birth. Must be in the past.
phone Number
The user's phone number. Optional. Only digits, plus (+), dashes (-) and spaces are allowed.