public final class LicenseUser extends Object
Constructor and Description |
---|
LicenseUser(int id,
ZonedDateTime lastLogin,
String email,
ZonedDateTime createdAt,
ZonedDateTime updatedAt,
boolean isActive,
boolean isStaff,
String firstName,
String lastName,
String phoneNumber,
boolean subscribedToEmail,
LocalDate acquiredConsent,
boolean isManager,
String initialPassword,
boolean isInitialPassword) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
LocalDate |
getAcquiredConsent()
Date when consent was acquired.
|
ZonedDateTime |
getCreatedAt()
Time when license user was created.
|
String |
getEmail()
Email of the user.
|
String |
getFirstName()
First name of the user.
|
int |
getId()
Id of the user which is automatically set by the LicenseSpring platform, cannot be manually set.
|
String |
getInitialPassword()
Initial password of the user, can be empty if it wasn't set during the creation process.
|
ZonedDateTime |
getLastLogin()
Time of last login.
|
String |
getLastName()
Surname of the user.
|
String |
getPhoneNumber()
Phone number of the user.
|
ZonedDateTime |
getUpdatedAt()
Time of last update of the user information.
|
int |
hashCode() |
boolean |
isActive()
Indicates if this is an active user.
|
boolean |
isManager()
Indicates if this user is also a license manager.
|
boolean |
isStaff()
Indicates if this user is also a part of company staff.
|
boolean |
isSubscribedToEmail()
Indicates if the user is subscribed to newsletter.
|
String |
toString() |
public LicenseUser(int id, ZonedDateTime lastLogin, String email, ZonedDateTime createdAt, ZonedDateTime updatedAt, boolean isActive, boolean isStaff, String firstName, String lastName, String phoneNumber, boolean subscribedToEmail, LocalDate acquiredConsent, boolean isManager, String initialPassword, boolean isInitialPassword)
public int getId()
public ZonedDateTime getLastLogin()
public String getEmail()
public ZonedDateTime getCreatedAt()
public ZonedDateTime getUpdatedAt()
public boolean isActive()
public boolean isStaff()
public String getFirstName()
public String getLastName()
public String getPhoneNumber()
public boolean isSubscribedToEmail()
public LocalDate getAcquiredConsent()
public boolean isManager()
public String getInitialPassword()
Copyright © 2023 Cense Data Inc.. All rights reserved.