Class UserStepCreatedEventBody
java.lang.Object
es.kukenan.smartfi.events.common.AbstractEventBody
es.kukenan.smartfi.microservice.clients.events.BaseUsersEventBody
es.kukenan.smartfi.microservice.clients.events.created.UserStepCreatedEventBody
Base class for the body of any Users micro-service event.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringUser email.private @NotBlank StringUser name.private StringOnboarding identifier, may be null if the user is not creating by an onboarding process.private StringUser phone.private StringUser phone prefix.private StringUser surname.private List<UserBackoffice>list of user back office identifier. -
Constructor Summary
ConstructorsConstructorDescriptionUserStepCreatedEventBody(String id, String name, String surname, String email, String phone, String phonePrefix, String onboardingId, List<UserBackoffice> userBackoffice) Full state constructor. -
Method Summary
Methods inherited from class es.kukenan.smartfi.events.common.AbstractEventBody
canEqual, equals, getPrincipal, hashCode, setPrincipal, toString
-
Field Details
-
name
User name. -
surname
User surname. -
email
User email. -
phone
User phone. -
phonePrefix
User phone prefix. -
onboardingId
Onboarding identifier, may be null if the user is not creating by an onboarding process. -
userBackoffice
list of user back office identifier.
-
-
Constructor Details
-
UserStepCreatedEventBody
public UserStepCreatedEventBody(String id, String name, String surname, String email, String phone, String phonePrefix, String onboardingId, List<UserBackoffice> userBackoffice) Full state constructor.- Parameters:
id- user identifier.name- user name.surname- user first surname.email- user email.phone- user phone.phonePrefix- user phone prefix.onboardingId- onboarding identifier, may be null if the user is not creating by an onboarding process.userBackoffice- user back office identifier list.
-