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.
|
deserializeclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanDeserializepublic 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()
SphereRequestpublic String getTokenValue()
public String getNewPassword()