Interface GraphQLRecurringOrderFailureError
- All Superinterfaces:
GraphQLErrorObject
Returned when a subsequent Order for a Recurring Order could not be processed.
Example to create an instance using the builder pattern
GraphQLRecurringOrderFailureError graphQLRecurringOrderFailureError = GraphQLRecurringOrderFailureError.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLRecurringOrderFailureError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLRecurringOrderFailureErrorbuilder(GraphQLRecurringOrderFailureError template) create builder for GraphQLRecurringOrderFailureError instancecopyDeep()deepCopy(GraphQLRecurringOrderFailureError template) factory method to create a deep copy of GraphQLRecurringOrderFailureError@NotNull StringgetCode()One of the error codes that is listed on the Errors page.@NotNull ObjectDetails about the error's cause and the entities involved.of()factory methodof(GraphQLRecurringOrderFailureError template) factory method to create a shallow copy GraphQLRecurringOrderFailureErrorvoidsetDetails(Object details) Details about the error's cause and the entities involved.static com.fasterxml.jackson.core.type.TypeReference<GraphQLRecurringOrderFailureError>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
-
RECURRING_ORDER_FAILURE
discriminator value for GraphQLRecurringOrderFailureError- 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
-
getDetails
Details about the error's cause and the entities involved.
- Returns:
- details
-
setDetails
Details about the error's cause and the entities involved.
- Parameters:
details- value to be set
-
of
factory method- Returns:
- instance of GraphQLRecurringOrderFailureError
-
of
factory method to create a shallow copy GraphQLRecurringOrderFailureError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
GraphQLRecurringOrderFailureError copyDeep()- Specified by:
copyDeepin interfaceGraphQLErrorObject
-
deepCopy
@Nullable static GraphQLRecurringOrderFailureError deepCopy(@Nullable GraphQLRecurringOrderFailureError template) factory method to create a deep copy of GraphQLRecurringOrderFailureError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLRecurringOrderFailureError- Returns:
- builder
-
builder
create builder for GraphQLRecurringOrderFailureError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLRecurringOrderFailureError
default <T> T withGraphQLRecurringOrderFailureError(Function<GraphQLRecurringOrderFailureError, 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<GraphQLRecurringOrderFailureError> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-