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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLMoneyOverflowError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLMoneyOverflowErrorbuilder(GraphQLMoneyOverflowError template) create builder for GraphQLMoneyOverflowError instancecopyDeep()static GraphQLMoneyOverflowErrordeepCopy(GraphQLMoneyOverflowError template) factory method to create a deep copy of GraphQLMoneyOverflowError@NotNull StringgetCode()One of the error codes that is listed on the Errors page.static GraphQLMoneyOverflowErrorof()factory methodstatic GraphQLMoneyOverflowErrorof(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> Taccessor 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:GraphQLErrorObjectOne of the error codes that is listed on the Errors page.
- Specified by:
getCodein 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
-
copyDeep
GraphQLMoneyOverflowError copyDeep()- Specified by:
copyDeepin interfaceGraphQLErrorObject
-
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
-