Class UserCreatedEventBody
java.lang.Object
es.kukenan.smartfi.events.common.AbstractEventBody
es.kukenan.smartfi.microservice.clients.events.BaseUsersEventBody
es.kukenan.smartfi.microservice.clients.events.created.UserCreatedEventBody
Base class for the body of any Users micro-service event.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringUser address.private LocalDateUser birthdate.private intClient civil status.private StringUser document id.private intType of user document.private StringUser email.private intClient gender.private intClient language (see https://en.wikipedia.org/wiki/IETF_language_tag).private @NotBlank StringUser name.private StringUser nationality.private StringOnboarding identifier, may be null if the user is not creating by an onboarding process.private StringOnboarding identifier, may be null if the user is not creating by an onboarding process.private StringUser phone.private StringUser phone prefix.private @javax.validation.constraints.NotNull intUser state.private StringUser surname.private @javax.validation.constraints.NotNull intUser type.private List<UserBackoffice>list of user back office identifier.private IntegerUser code. -
Constructor Summary
ConstructorsConstructorDescriptionUserCreatedEventBody(String id, int type, int state, int language, int gender, int civilStatus, String name, String surname, int documentTypeId, String documentId, LocalDate birthdate, String email, String phone, String phonePrefix, String onboardingId, String natureType, List<UserBackoffice> userBackoffice, Integer userCode, String address, String nationality) Full state constructor. -
Method Summary
Methods inherited from class es.kukenan.smartfi.events.common.AbstractEventBody
canEqual, equals, getPrincipal, hashCode, setPrincipal, toString
-
Field Details
-
type
@NotNull private @javax.validation.constraints.NotNull int typeUser type. -
state
@NotNull private @javax.validation.constraints.NotNull int stateUser state. -
language
private int languageClient language (see https://en.wikipedia.org/wiki/IETF_language_tag). -
gender
private int genderClient gender. -
civilStatus
private int civilStatusClient civil status. -
name
User name. -
surname
User surname. -
documentTypeId
private int documentTypeIdType of user document. -
documentId
User document id. -
birthdate
User birthdate. -
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. -
natureType
Onboarding identifier, may be null if the user is not creating by an onboarding process. -
userBackoffice
list of user back office identifier. -
userCode
User code. -
address
User address. -
nationality
User nationality.
-
-
Constructor Details
-
UserCreatedEventBody
public UserCreatedEventBody(String id, int type, int state, int language, int gender, int civilStatus, String name, String surname, int documentTypeId, String documentId, LocalDate birthdate, String email, String phone, String phonePrefix, String onboardingId, String natureType, List<UserBackoffice> userBackoffice, Integer userCode, String address, String nationality) Full state constructor.- Parameters:
id- user identifier.type- user identifier.state- user identifier.language- user language.gender- User gender.civilStatus- User civilStatus.name- user name.surname- user first surname.documentTypeId- user document type identifier.documentId- user document identifier.birthdate- user birth date.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.natureType- user nature type.userBackoffice- user back office identifier list.userCode- User unique code identifier.address- user address.nationality- user nationality.
-