Class GraphQLShippingMethodDoesNotMatchCartErrorBuilder
java.lang.Object
com.commercetools.api.models.error.GraphQLShippingMethodDoesNotMatchCartErrorBuilder
- All Implemented Interfaces:
Builder<GraphQLShippingMethodDoesNotMatchCartError>
public class GraphQLShippingMethodDoesNotMatchCartErrorBuilder
extends Object
implements Builder<GraphQLShippingMethodDoesNotMatchCartError>
GraphQLShippingMethodDoesNotMatchCartErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
GraphQLShippingMethodDoesNotMatchCartError graphQLShippingMethodDoesNotMatchCartError = GraphQLShippingMethodDoesNotMatchCartError.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()builds GraphQLShippingMethodDoesNotMatchCartError with checking for non-null required valuesbuilds GraphQLShippingMethodDoesNotMatchCartError without checking for non-null required valuesError-specific additional fields.of()factory method for an instance of GraphQLShippingMethodDoesNotMatchCartErrorBuilderof(GraphQLShippingMethodDoesNotMatchCartError template) create builder for GraphQLShippingMethodDoesNotMatchCartError instanceError-specific additional fields.
-
Constructor Details
-
GraphQLShippingMethodDoesNotMatchCartErrorBuilder
public GraphQLShippingMethodDoesNotMatchCartErrorBuilder()
-
-
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 GraphQLShippingMethodDoesNotMatchCartError with checking for non-null required values- Specified by:
buildin interfaceBuilder<GraphQLShippingMethodDoesNotMatchCartError>- Returns:
- GraphQLShippingMethodDoesNotMatchCartError
-
buildUnchecked
builds GraphQLShippingMethodDoesNotMatchCartError without checking for non-null required values- Returns:
- GraphQLShippingMethodDoesNotMatchCartError
-
of
factory method for an instance of GraphQLShippingMethodDoesNotMatchCartErrorBuilder- Returns:
- builder
-
of
public static GraphQLShippingMethodDoesNotMatchCartErrorBuilder of(GraphQLShippingMethodDoesNotMatchCartError template) create builder for GraphQLShippingMethodDoesNotMatchCartError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-