Class ResetPasswordPayload


  • public class ResetPasswordPayload
    extends Object
    Represents the payload for a password reset request.

    This class contains the necessary fields required to reset a user's password, including the new password, credential code, reset profile code, and an optional one-time pin (OTP) for verification.

    Author:
    mmakantasi
    • Constructor Detail

      • ResetPasswordPayload

        public ResetPasswordPayload()
    • Method Detail

      • getPassword

        public String getPassword()
        Gets the new password.
      • setPassword

        public void setPassword​(String password)
        Sets the new password.
      • getCredentialCode

        public String getCredentialCode()
        Gets the credential code.
      • setCredentialCode

        public void setCredentialCode​(String credentialCode)
        Sets the credential code.
      • getResetPasswordProfileCode

        public String getResetPasswordProfileCode()
        Gets the reset password profile code.
      • setResetPasswordProfileCode

        public void setResetPasswordProfileCode​(String resetPasswordProfileCode)
        Sets the reset password profile code.
      • getOneTimePin

        public String getOneTimePin()
        Gets the one-time pin code.
      • setOneTimePin

        public void setOneTimePin​(String oneTimePin)
        Sets the one-time pin code.
      • getIsPasswordUsed

        public Boolean getIsPasswordUsed()
        Checks if the password has been used for login at least once.
      • setIsPasswordUsed

        public void setIsPasswordUsed​(Boolean isPasswordUsed)
        Sets whether the password has been used for login at least once.