Class GraphQLCountryNotConfiguredInStoreErrorBuilder
java.lang.Object
com.commercetools.api.models.error.GraphQLCountryNotConfiguredInStoreErrorBuilder
- All Implemented Interfaces:
Builder<GraphQLCountryNotConfiguredInStoreError>
public class GraphQLCountryNotConfiguredInStoreErrorBuilder
extends Object
implements Builder<GraphQLCountryNotConfiguredInStoreError>
GraphQLCountryNotConfiguredInStoreErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
GraphQLCountryNotConfiguredInStoreError graphQLCountryNotConfiguredInStoreError = GraphQLCountryNotConfiguredInStoreError.builder()
.plusStoreCountries(storeCountriesBuilder -> storeCountriesBuilder)
.country("{country}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()
builds GraphQLCountryNotConfiguredInStoreError with checking for non-null required valuesbuilds GraphQLCountryNotConfiguredInStoreError without checking for non-null required valuesThe country that is not configured for the Store but referenced on the Cart or Order.The country that is not configured for the Store but referenced on the Cart or Order.Countries configured for the Store.Error-specific additional fields.of()
factory method for an instance of GraphQLCountryNotConfiguredInStoreErrorBuilderof
(GraphQLCountryNotConfiguredInStoreError template) create builder for GraphQLCountryNotConfiguredInStoreError instanceplusStoreCountries
(String... storeCountries) Countries configured for the Store.storeCountries
(String... storeCountries) Countries configured for the Store.storeCountries
(List<String> storeCountries) Countries configured for the Store.Error-specific additional fields.
-
Constructor Details
-
GraphQLCountryNotConfiguredInStoreErrorBuilder
public GraphQLCountryNotConfiguredInStoreErrorBuilder()
-
-
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
-
storeCountries
Countries configured for the Store.
- Parameters:
storeCountries
- value to be set- Returns:
- Builder
-
storeCountries
Countries configured for the Store.
- Parameters:
storeCountries
- value to be set- Returns:
- Builder
-
plusStoreCountries
Countries configured for the Store.
- Parameters:
storeCountries
- value to be set- Returns:
- Builder
-
country
The country that is not configured for the Store but referenced on the Cart or Order.
- Parameters:
country
- value to be set- Returns:
- Builder
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
getStoreCountries
Countries configured for the Store.
- Returns:
- storeCountries
-
getCountry
The country that is not configured for the Store but referenced on the Cart or Order.
- Returns:
- country
-
build
builds GraphQLCountryNotConfiguredInStoreError with checking for non-null required values- Specified by:
build
in interfaceBuilder<GraphQLCountryNotConfiguredInStoreError>
- Returns:
- GraphQLCountryNotConfiguredInStoreError
-
buildUnchecked
builds GraphQLCountryNotConfiguredInStoreError without checking for non-null required values- Returns:
- GraphQLCountryNotConfiguredInStoreError
-
of
factory method for an instance of GraphQLCountryNotConfiguredInStoreErrorBuilder- Returns:
- builder
-
of
public static GraphQLCountryNotConfiguredInStoreErrorBuilder of(GraphQLCountryNotConfiguredInStoreError template) create builder for GraphQLCountryNotConfiguredInStoreError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-