Class GraphQLInvalidItemShippingDetailsErrorBuilder
java.lang.Object
com.commercetools.api.models.error.GraphQLInvalidItemShippingDetailsErrorBuilder
- All Implemented Interfaces:
Builder<GraphQLInvalidItemShippingDetailsError>
public class GraphQLInvalidItemShippingDetailsErrorBuilder
extends Object
implements Builder<GraphQLInvalidItemShippingDetailsError>
GraphQLInvalidItemShippingDetailsErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
GraphQLInvalidItemShippingDetailsError graphQLInvalidItemShippingDetailsError = GraphQLInvalidItemShippingDetailsError.builder()
.subject("{subject}")
.itemId("{itemId}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()
builds GraphQLInvalidItemShippingDetailsError with checking for non-null required valuesbuilds GraphQLInvalidItemShippingDetailsError without checking for non-null required valuesUnique identifier of the Line Item or Custom Line Item."LineItem"
or"CustomLineItem"
Error-specific additional fields.Unique identifier of the Line Item or Custom Line Item.of()
factory method for an instance of GraphQLInvalidItemShippingDetailsErrorBuilderof
(GraphQLInvalidItemShippingDetailsError template) create builder for GraphQLInvalidItemShippingDetailsError instance"LineItem"
or"CustomLineItem"
Error-specific additional fields.
-
Constructor Details
-
GraphQLInvalidItemShippingDetailsErrorBuilder
public GraphQLInvalidItemShippingDetailsErrorBuilder()
-
-
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
-
subject
"LineItem"
or"CustomLineItem"
- Parameters:
subject
- value to be set- Returns:
- Builder
-
itemId
Unique identifier of the Line Item or Custom Line Item.
- Parameters:
itemId
- value to be set- Returns:
- Builder
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
getSubject
"LineItem"
or"CustomLineItem"
- Returns:
- subject
-
getItemId
Unique identifier of the Line Item or Custom Line Item.
- Returns:
- itemId
-
build
builds GraphQLInvalidItemShippingDetailsError with checking for non-null required values- Specified by:
build
in interfaceBuilder<GraphQLInvalidItemShippingDetailsError>
- Returns:
- GraphQLInvalidItemShippingDetailsError
-
buildUnchecked
builds GraphQLInvalidItemShippingDetailsError without checking for non-null required values- Returns:
- GraphQLInvalidItemShippingDetailsError
-
of
factory method for an instance of GraphQLInvalidItemShippingDetailsErrorBuilder- Returns:
- builder
-
of
public static GraphQLInvalidItemShippingDetailsErrorBuilder of(GraphQLInvalidItemShippingDetailsError template) create builder for GraphQLInvalidItemShippingDetailsError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-