Class TaxCategoryKeyReferenceBuilder
java.lang.Object
com.commercetools.importapi.models.common.TaxCategoryKeyReferenceBuilder
- All Implemented Interfaces:
Builder<TaxCategoryKeyReference>
public class TaxCategoryKeyReferenceBuilder
extends Object
implements Builder<TaxCategoryKeyReference>
TaxCategoryKeyReferenceBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TaxCategoryKeyReference taxCategoryKeyReference = TaxCategoryKeyReference.builder()
.key("{key}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds TaxCategoryKeyReference with checking for non-null required valuesbuilds TaxCategoryKeyReference without checking for non-null required valuesgetKey()
value of key}set the value to the keyof()
factory method for an instance of TaxCategoryKeyReferenceBuilderof
(TaxCategoryKeyReference template) create builder for TaxCategoryKeyReference instance
-
Constructor Details
-
TaxCategoryKeyReferenceBuilder
public TaxCategoryKeyReferenceBuilder()
-
-
Method Details
-
key
set the value to the key- Parameters:
key
- value to be set- Returns:
- Builder
-
getKey
value of key}- Returns:
- key
-
build
builds TaxCategoryKeyReference with checking for non-null required values- Specified by:
build
in interfaceBuilder<TaxCategoryKeyReference>
- Returns:
- TaxCategoryKeyReference
-
buildUnchecked
builds TaxCategoryKeyReference without checking for non-null required values- Returns:
- TaxCategoryKeyReference
-
of
factory method for an instance of TaxCategoryKeyReferenceBuilder- Returns:
- builder
-
of
create builder for TaxCategoryKeyReference instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-