Interface CustomerCreatePasswordResetToken
public interface CustomerCreatePasswordResetToken
CustomerCreatePasswordResetToken
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerCreatePasswordResetToken customerCreatePasswordResetToken = CustomerCreatePasswordResetToken.builder()
.email("{email}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerCreatePasswordResetTokenbuilder
(CustomerCreatePasswordResetToken template) create builder for CustomerCreatePasswordResetToken instancedeepCopy
(CustomerCreatePasswordResetToken template) factory method to create a deep copy of CustomerCreatePasswordResetToken@NotNull String
getEmail()
Email address of the Customer treated as case-insensitive.Validity period of the generated token in minutes.of()
factory methodof
(CustomerCreatePasswordResetToken template) factory method to create a shallow copy CustomerCreatePasswordResetTokenvoid
Email address of the Customer treated as case-insensitive.void
setTtlMinutes
(Long ttlMinutes) Validity period of the generated token in minutes.static com.fasterxml.jackson.core.type.TypeReference<CustomerCreatePasswordResetToken>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getEmail
Email address of the Customer treated as case-insensitive.
- Returns:
-
getTtlMinutes
Long getTtlMinutes()Validity period of the generated token in minutes.
- Returns:
- ttlMinutes
-
setEmail
Email address of the Customer treated as case-insensitive.
- Parameters:
email
- value to be set
-
setTtlMinutes
Validity period of the generated token in minutes.
- Parameters:
ttlMinutes
- value to be set
-
of
factory method- Returns:
- instance of CustomerCreatePasswordResetToken
-
of
factory method to create a shallow copy CustomerCreatePasswordResetToken- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static CustomerCreatePasswordResetToken deepCopy(@Nullable CustomerCreatePasswordResetToken template) factory method to create a deep copy of CustomerCreatePasswordResetToken- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerCreatePasswordResetToken- Returns:
- builder
-
builder
create builder for CustomerCreatePasswordResetToken instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerCreatePasswordResetToken
default <T> T withCustomerCreatePasswordResetToken(Function<CustomerCreatePasswordResetToken, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<CustomerCreatePasswordResetToken> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-