public final class CustomerInStoreCreateEmailTokenCommand extends CommandImpl<CustomerToken>
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
Integer |
getTtlMinutes() |
Long |
getVersion() |
HttpRequestIntent |
httpRequestIntent()
Provides an http request intent, this does not include the execution of it.
|
protected com.fasterxml.jackson.databind.JavaType |
jacksonJavaType() |
static CustomerInStoreCreateEmailTokenCommand |
of(String storeKey,
Identifiable<Customer> customer,
Integer timeToLiveInMinutes)
Creates a command object to create a token to verify a customer's email.
|
static CustomerInStoreCreateEmailTokenCommand |
ofCustomerId(String storeKey,
String id,
Integer timeToLiveInMinutes)
Creates a command object to create a token to verify a customer's email.
|
deserializeclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanDeserializepublic static CustomerInStoreCreateEmailTokenCommand ofCustomerId(String storeKey, String id, Integer timeToLiveInMinutes)
id - the id belonging to the customertimeToLiveInMinutes - the time in minutes the token is valid, Composable Commerce limitation applypublic static CustomerInStoreCreateEmailTokenCommand of(String storeKey, Identifiable<Customer> customer, Integer timeToLiveInMinutes)
customer - customertimeToLiveInMinutes - the time in minutes the token is valid, Composable Commerce limitation applypublic Integer getTtlMinutes()
public String getId()
protected com.fasterxml.jackson.databind.JavaType jacksonJavaType()
jacksonJavaType in class CommandImpl<CustomerToken>public HttpRequestIntent httpRequestIntent()
SphereRequest