Class PasswordPayload


  • public class PasswordPayload
    extends Object
    Represents the password data for a customer. This class holds the password and associated credential code for a customer, ensuring proper validation and usage within the system.
    Author:
    slevantis
    • Constructor Detail

      • PasswordPayload

        public PasswordPayload()
    • Method Detail

      • getPassword

        public String getPassword()
        Gets the customer's password.
        Returns:
        the customer's password
      • setPassword

        public void setPassword​(String password)
        Sets the customer's password.
        Parameters:
        password - the new password to be set
      • getCredentialCode

        public String getCredentialCode()
        Gets the credential code that describes where the password refers to.
        Returns:
        the credential code
      • setCredentialCode

        public void setCredentialCode​(String credentialCode)
        Sets the credential code that describes where the password refers to.
        Parameters:
        credentialCode - the new credential code to be set