Interface GraphQLInvalidCurrentPasswordError
- All Superinterfaces:
GraphQLErrorObject
Returned when the current password of the Customer does not match.
The error is returned as a failed response to:
- Change Customer Password and Change Customer Password in a Store requests on Customers.
- Change Customer Password and Change Customer Password in a Store requests on My Customer Profile.
Example to create an instance using the builder pattern
GraphQLInvalidCurrentPasswordError graphQLInvalidCurrentPasswordError = GraphQLInvalidCurrentPasswordError.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLInvalidCurrentPasswordError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLInvalidCurrentPasswordErrorbuilder(GraphQLInvalidCurrentPasswordError template) create builder for GraphQLInvalidCurrentPasswordError instancecopyDeep()deepCopy(GraphQLInvalidCurrentPasswordError template) factory method to create a deep copy of GraphQLInvalidCurrentPasswordError@NotNull StringgetCode()One of the error codes that is listed on the Errors page.of()factory methodof(GraphQLInvalidCurrentPasswordError template) factory method to create a shallow copy GraphQLInvalidCurrentPasswordErrorstatic com.fasterxml.jackson.core.type.TypeReference<GraphQLInvalidCurrentPasswordError>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
-
INVALID_CURRENT_PASSWORD
discriminator value for GraphQLInvalidCurrentPasswordError- 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 GraphQLInvalidCurrentPasswordError
-
of
factory method to create a shallow copy GraphQLInvalidCurrentPasswordError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
GraphQLInvalidCurrentPasswordError copyDeep()- Specified by:
copyDeepin interfaceGraphQLErrorObject
-
deepCopy
@Nullable static GraphQLInvalidCurrentPasswordError deepCopy(@Nullable GraphQLInvalidCurrentPasswordError template) factory method to create a deep copy of GraphQLInvalidCurrentPasswordError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLInvalidCurrentPasswordError- Returns:
- builder
-
builder
static GraphQLInvalidCurrentPasswordErrorBuilder builder(GraphQLInvalidCurrentPasswordError template) create builder for GraphQLInvalidCurrentPasswordError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLInvalidCurrentPasswordError
default <T> T withGraphQLInvalidCurrentPasswordError(Function<GraphQLInvalidCurrentPasswordError, 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<GraphQLInvalidCurrentPasswordError> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-