Class CustomerChangePasswordImpl
java.lang.Object
com.commercetools.api.models.customer.CustomerChangePasswordImpl
- All Implemented Interfaces:
CustomerChangePassword
,io.vrap.rmf.base.client.ModelBase
public class CustomerChangePasswordImpl
extends Object
implements CustomerChangePassword, io.vrap.rmf.base.client.ModelBase
CustomerChangePassword
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Current password of the Customer.getId()
Unique identifier of the Customer.New password to be set.Expected version of the Customer on which the changes should be applied.int
hashCode()
void
setCurrentPassword
(String currentPassword) Current password of the Customer.void
Unique identifier of the Customer.void
setNewPassword
(String newPassword) New password to be set.void
setVersion
(Long version) Expected version of the Customer on which the changes should be applied.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.customer.CustomerChangePassword
withCustomerChangePassword
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
CustomerChangePasswordImpl
public CustomerChangePasswordImpl()create empty instance
-
-
Method Details
-
getId
Unique identifier of the Customer.
- Specified by:
getId
in interfaceCustomerChangePassword
- Returns:
- id
-
getVersion
Expected version of the Customer on which the changes should be applied.
- Specified by:
getVersion
in interfaceCustomerChangePassword
- Returns:
- version
-
getCurrentPassword
Current password of the Customer.
If the current password does not match, an InvalidCurrentPassword error is returned.
- Specified by:
getCurrentPassword
in interfaceCustomerChangePassword
- Returns:
- currentPassword
-
getNewPassword
New password to be set.
- Specified by:
getNewPassword
in interfaceCustomerChangePassword
- Returns:
- newPassword
-
setId
Description copied from interface:CustomerChangePassword
Unique identifier of the Customer.
- Specified by:
setId
in interfaceCustomerChangePassword
- Parameters:
id
- value to be set
-
setVersion
Description copied from interface:CustomerChangePassword
Expected version of the Customer on which the changes should be applied.
- Specified by:
setVersion
in interfaceCustomerChangePassword
- Parameters:
version
- value to be set
-
setCurrentPassword
Description copied from interface:CustomerChangePassword
Current password of the Customer.
If the current password does not match, an InvalidCurrentPassword error is returned.
- Specified by:
setCurrentPassword
in interfaceCustomerChangePassword
- Parameters:
currentPassword
- value to be set
-
setNewPassword
Description copied from interface:CustomerChangePassword
New password to be set.
- Specified by:
setNewPassword
in interfaceCustomerChangePassword
- Parameters:
newPassword
- value to be set
-
equals
-
hashCode
-