public final class CustomerInStorePasswordResetCommand extends CommandImpl<Customer>
Modifier and Type | Method and Description |
---|---|
String |
getNewPassword() |
String |
getTokenValue() |
HttpRequestIntent |
httpRequestIntent()
Provides an http request intent, this does not include the execution of it.
|
protected com.fasterxml.jackson.databind.JavaType |
jacksonJavaType() |
static CustomerInStorePasswordResetCommand |
ofTokenAndPassword(String storeKey,
String tokenValue,
String newPassword)
Creates a command that can set a new password for a customer with a certain token.
|
deserialize
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
canDeserialize
public static CustomerInStorePasswordResetCommand ofTokenAndPassword(String storeKey, String tokenValue, String newPassword)
tokenValue
- value of the token belonging to a customernewPassword
- the new password which should be set for the customerprotected com.fasterxml.jackson.databind.JavaType jacksonJavaType()
jacksonJavaType
in class CommandImpl<Customer>
public HttpRequestIntent httpRequestIntent()
SphereRequest
public String getTokenValue()
public String getNewPassword()