Interface CustomerResetPassword
public interface CustomerResetPassword
CustomerResetPassword
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerResetPassword customerResetPassword = CustomerResetPassword.builder()
.tokenValue("{tokenValue}")
.newPassword("{newPassword}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic CustomerResetPasswordBuilder
builder()
builder factory method for CustomerResetPasswordstatic CustomerResetPasswordBuilder
builder
(CustomerResetPassword template) create builder for CustomerResetPassword instancestatic CustomerResetPassword
deepCopy
(CustomerResetPassword template) factory method to create a deep copy of CustomerResetPassword@NotNull String
New password to be set.@NotNull String
Value of the token to reset the Customer password.Expected version of the Customer.static CustomerResetPassword
of()
factory methodstatic CustomerResetPassword
of
(CustomerResetPassword template) factory method to create a shallow copy CustomerResetPasswordvoid
setNewPassword
(String newPassword) New password to be set.void
setTokenValue
(String tokenValue) Value of the token to reset the Customer password.void
setVersion
(Long version) Expected version of the Customer.static com.fasterxml.jackson.core.type.TypeReference<CustomerResetPassword>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getTokenValue
Value of the token to reset the Customer password.
- Returns:
- tokenValue
-
getNewPassword
New password to be set.
- Returns:
- newPassword
-
getVersion
Long getVersion()Expected version of the Customer.
- Returns:
- version
-
setTokenValue
Value of the token to reset the Customer password.
- Parameters:
tokenValue
- value to be set
-
setNewPassword
New password to be set.
- Parameters:
newPassword
- value to be set
-
setVersion
Expected version of the Customer.
- Parameters:
version
- value to be set
-
of
factory method- Returns:
- instance of CustomerResetPassword
-
of
factory method to create a shallow copy CustomerResetPassword- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of CustomerResetPassword- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerResetPassword- Returns:
- builder
-
builder
create builder for CustomerResetPassword instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerResetPassword
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-