Interface GraphQLMoneyOverflowError
- All Superinterfaces:
GraphQLErrorObject
Returned when a Money operation overflows the 64-bit integer range. See Money usage for more information.
Example to create an instance using the builder pattern
GraphQLMoneyOverflowError graphQLMoneyOverflowError = GraphQLMoneyOverflowError.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for GraphQLMoneyOverflowError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for GraphQLMoneyOverflowErrorbuilder
(GraphQLMoneyOverflowError template) create builder for GraphQLMoneyOverflowError instancestatic GraphQLMoneyOverflowError
deepCopy
(GraphQLMoneyOverflowError template) factory method to create a deep copy of GraphQLMoneyOverflowError@NotNull String
getCode()
One of the error codes that is listed on the Errors page.static GraphQLMoneyOverflowError
of()
factory methodstatic GraphQLMoneyOverflowError
of
(GraphQLMoneyOverflowError template) factory method to create a shallow copy GraphQLMoneyOverflowErrorstatic com.fasterxml.jackson.core.type.TypeReference<GraphQLMoneyOverflowError>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.error.GraphQLErrorObject
setValue, values, withGraphQLErrorObject
-
Field Details
-
MONEY_OVERFLOW
discriminator value for GraphQLMoneyOverflowError- 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 GraphQLMoneyOverflowError
-
of
factory method to create a shallow copy GraphQLMoneyOverflowError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of GraphQLMoneyOverflowError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLMoneyOverflowError- Returns:
- builder
-
builder
create builder for GraphQLMoneyOverflowError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLMoneyOverflowError
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-