Class GraphQLMissingTaxRateForCountryErrorBuilder
java.lang.Object
com.commercetools.api.models.error.GraphQLMissingTaxRateForCountryErrorBuilder
- All Implemented Interfaces:
Builder<GraphQLMissingTaxRateForCountryError>
public class GraphQLMissingTaxRateForCountryErrorBuilder
extends Object
implements Builder<GraphQLMissingTaxRateForCountryError>
GraphQLMissingTaxRateForCountryErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
GraphQLMissingTaxRateForCountryError graphQLMissingTaxRateForCountryError = GraphQLMissingTaxRateForCountryError.builder()
.taxCategoryId("{taxCategoryId}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()
builds GraphQLMissingTaxRateForCountryError with checking for non-null required valuesbuilds GraphQLMissingTaxRateForCountryError without checking for non-null required valuesCountry code of the geographic location.Country code of the geographic location.getState()
State within the country, such as Texas in the United States.Unique identifier of the TaxCategory.Error-specific additional fields.of()
factory method for an instance of GraphQLMissingTaxRateForCountryErrorBuilderof
(GraphQLMissingTaxRateForCountryError template) create builder for GraphQLMissingTaxRateForCountryError instanceState within the country, such as Texas in the United States.taxCategoryId
(String taxCategoryId) Unique identifier of the TaxCategory.Error-specific additional fields.
-
Constructor Details
-
GraphQLMissingTaxRateForCountryErrorBuilder
public GraphQLMissingTaxRateForCountryErrorBuilder()
-
-
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
-
taxCategoryId
Unique identifier of the TaxCategory.
- Parameters:
taxCategoryId
- value to be set- Returns:
- Builder
-
country
Country code of the geographic location.
- Parameters:
country
- value to be set- Returns:
- Builder
-
state
State within the country, such as Texas in the United States.
- Parameters:
state
- value to be set- Returns:
- Builder
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
getTaxCategoryId
Unique identifier of the TaxCategory.
- Returns:
- taxCategoryId
-
getCountry
Country code of the geographic location.
- Returns:
- country
-
getState
State within the country, such as Texas in the United States.
- Returns:
- state
-
build
builds GraphQLMissingTaxRateForCountryError with checking for non-null required values- Specified by:
build
in interfaceBuilder<GraphQLMissingTaxRateForCountryError>
- Returns:
- GraphQLMissingTaxRateForCountryError
-
buildUnchecked
builds GraphQLMissingTaxRateForCountryError without checking for non-null required values- Returns:
- GraphQLMissingTaxRateForCountryError
-
of
factory method for an instance of GraphQLMissingTaxRateForCountryErrorBuilder- Returns:
- builder
-
of
public static GraphQLMissingTaxRateForCountryErrorBuilder of(GraphQLMissingTaxRateForCountryError template) create builder for GraphQLMissingTaxRateForCountryError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-