Interface GraphQLExpiredCustomerPasswordTokenError
- All Superinterfaces:
GraphQLErrorObject
Returned when the provided password token of the Customer has expired.
The error is returned as a failed response to:
- Get Customer by password token and Get Customer in Store by password token requests
- Reset password of Customer and Reset password of Customer in Store requests
Example to create an instance using the builder pattern
GraphQLExpiredCustomerPasswordTokenError graphQLExpiredCustomerPasswordTokenError = GraphQLExpiredCustomerPasswordTokenError.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for GraphQLExpiredCustomerPasswordTokenError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for GraphQLExpiredCustomerPasswordTokenErrorcreate builder for GraphQLExpiredCustomerPasswordTokenError instancecopyDeep()
factory method to create a deep copy of GraphQLExpiredCustomerPasswordTokenError@NotNull String
getCode()
One of the error codes that is listed on the Errors page.of()
factory methodof
(GraphQLExpiredCustomerPasswordTokenError template) factory method to create a shallow copy GraphQLExpiredCustomerPasswordTokenErrorstatic com.fasterxml.jackson.core.type.TypeReference<GraphQLExpiredCustomerPasswordTokenError>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withGraphQLExpiredCustomerPasswordTokenError
(Function<GraphQLExpiredCustomerPasswordTokenError, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.error.GraphQLErrorObject
setValue, values, withGraphQLErrorObject
-
Field Details
-
EXPIRED_CUSTOMER_PASSWORD_TOKEN
discriminator value for GraphQLExpiredCustomerPasswordTokenError- See Also:
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObject
One of the error codes that is listed on the Errors page.
- Specified by:
getCode
in interfaceGraphQLErrorObject
- Returns:
- code
-
of
factory method- Returns:
- instance of GraphQLExpiredCustomerPasswordTokenError
-
of
static GraphQLExpiredCustomerPasswordTokenError of(GraphQLExpiredCustomerPasswordTokenError template) factory method to create a shallow copy GraphQLExpiredCustomerPasswordTokenError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
GraphQLExpiredCustomerPasswordTokenError copyDeep()- Specified by:
copyDeep
in interfaceGraphQLErrorObject
-
deepCopy
@Nullable static GraphQLExpiredCustomerPasswordTokenError deepCopy(@Nullable GraphQLExpiredCustomerPasswordTokenError template) factory method to create a deep copy of GraphQLExpiredCustomerPasswordTokenError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLExpiredCustomerPasswordTokenError- Returns:
- builder
-
builder
static GraphQLExpiredCustomerPasswordTokenErrorBuilder builder(GraphQLExpiredCustomerPasswordTokenError template) create builder for GraphQLExpiredCustomerPasswordTokenError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLExpiredCustomerPasswordTokenError
default <T> T withGraphQLExpiredCustomerPasswordTokenError(Function<GraphQLExpiredCustomerPasswordTokenError, 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<GraphQLExpiredCustomerPasswordTokenError> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-