Class TaxCategorySetKeyActionBuilder
java.lang.Object
com.commercetools.api.models.tax_category.TaxCategorySetKeyActionBuilder
- All Implemented Interfaces:
Builder<TaxCategorySetKeyAction>
public class TaxCategorySetKeyActionBuilder
extends Object
implements Builder<TaxCategorySetKeyAction>
TaxCategorySetKeyActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TaxCategorySetKeyAction taxCategorySetKeyAction = TaxCategorySetKeyAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds TaxCategorySetKeyAction with checking for non-null required valuesbuilds TaxCategorySetKeyAction without checking for non-null required valuesgetKey()
Value to set.Value to set.of()
factory method for an instance of TaxCategorySetKeyActionBuilderof
(TaxCategorySetKeyAction template) create builder for TaxCategorySetKeyAction instance
-
Constructor Details
-
TaxCategorySetKeyActionBuilder
public TaxCategorySetKeyActionBuilder()
-
-
Method Details
-
key
Value to set. If empty, any existing value will be removed.
- Parameters:
key
- value to be set- Returns:
- Builder
-
getKey
Value to set. If empty, any existing value will be removed.
- Returns:
- key
-
build
builds TaxCategorySetKeyAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<TaxCategorySetKeyAction>
- Returns:
- TaxCategorySetKeyAction
-
buildUnchecked
builds TaxCategorySetKeyAction without checking for non-null required values- Returns:
- TaxCategorySetKeyAction
-
of
factory method for an instance of TaxCategorySetKeyActionBuilder- Returns:
- builder
-
of
create builder for TaxCategorySetKeyAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-