Class LoginResponse


  • public class LoginResponse
    extends Object
    Represents the response payload for a login request.

    This class contains information about whether the customer's password has been used at least once for login.

    Author:
    nikritikos
    • Constructor Detail

      • LoginResponse

        public LoginResponse()
    • Method Detail

      • isPasswordUsed

        public boolean isPasswordUsed()
        Checks if the password has been used for login at least once.
        Returns:
        true if the password has been used before, otherwise false.
      • setPasswordUsed

        public void setPasswordUsed​(boolean isPasswordUsed)
        Sets whether the password has been used for login at least once.
        Parameters:
        isPasswordUsed - true if the password has been used before, otherwise false.