Class PasswordPayload
- java.lang.Object
-
- com.inteliqua.rest.customer.payload.password.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 Summary
Constructors Constructor Description PasswordPayload()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCredentialCode()Gets the credential code that describes where the password refers to.StringgetPassword()Gets the customer's password.voidsetCredentialCode(String credentialCode)Sets the credential code that describes where the password refers to.voidsetPassword(String password)Sets the customer's password.
-
-
-
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
-
-