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