Class GraphQLNoMatchingProductDiscountFoundErrorBuilder
java.lang.Object
com.commercetools.api.models.error.GraphQLNoMatchingProductDiscountFoundErrorBuilder
- All Implemented Interfaces:
Builder<GraphQLNoMatchingProductDiscountFoundError>
public class GraphQLNoMatchingProductDiscountFoundErrorBuilder
extends Object
implements Builder<GraphQLNoMatchingProductDiscountFoundError>
GraphQLNoMatchingProductDiscountFoundErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
GraphQLNoMatchingProductDiscountFoundError graphQLNoMatchingProductDiscountFoundError = GraphQLNoMatchingProductDiscountFoundError.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()
builds GraphQLNoMatchingProductDiscountFoundError with checking for non-null required valuesbuilds GraphQLNoMatchingProductDiscountFoundError without checking for non-null required valuesError-specific additional fields.of()
factory method for an instance of GraphQLNoMatchingProductDiscountFoundErrorBuilderof
(GraphQLNoMatchingProductDiscountFoundError template) create builder for GraphQLNoMatchingProductDiscountFoundError instanceError-specific additional fields.
-
Constructor Details
-
GraphQLNoMatchingProductDiscountFoundErrorBuilder
public GraphQLNoMatchingProductDiscountFoundErrorBuilder()
-
-
Method Details
-
values
Error-specific additional fields.
- Parameters:
values
- properties to be set- Returns:
- Builder
-
addValue
Error-specific additional fields.
- Parameters:
key
- property namevalue
- property value- Returns:
- Builder
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
build
builds GraphQLNoMatchingProductDiscountFoundError with checking for non-null required values- Specified by:
build
in interfaceBuilder<GraphQLNoMatchingProductDiscountFoundError>
- Returns:
- GraphQLNoMatchingProductDiscountFoundError
-
buildUnchecked
builds GraphQLNoMatchingProductDiscountFoundError without checking for non-null required values- Returns:
- GraphQLNoMatchingProductDiscountFoundError
-
of
factory method for an instance of GraphQLNoMatchingProductDiscountFoundErrorBuilder- Returns:
- builder
-
of
public static GraphQLNoMatchingProductDiscountFoundErrorBuilder of(GraphQLNoMatchingProductDiscountFoundError template) create builder for GraphQLNoMatchingProductDiscountFoundError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-