Class TaxCategoryChangeNameActionBuilder
java.lang.Object
com.commercetools.api.models.tax_category.TaxCategoryChangeNameActionBuilder
- All Implemented Interfaces:
Builder<TaxCategoryChangeNameAction>
public class TaxCategoryChangeNameActionBuilder
extends Object
implements Builder<TaxCategoryChangeNameAction>
TaxCategoryChangeNameActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TaxCategoryChangeNameAction taxCategoryChangeNameAction = TaxCategoryChangeNameAction.builder()
.name("{name}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds TaxCategoryChangeNameAction with checking for non-null required valuesbuilds TaxCategoryChangeNameAction without checking for non-null required valuesgetName()
New value to set.New value to set.of()
factory method for an instance of TaxCategoryChangeNameActionBuilderof
(TaxCategoryChangeNameAction template) create builder for TaxCategoryChangeNameAction instance
-
Constructor Details
-
TaxCategoryChangeNameActionBuilder
public TaxCategoryChangeNameActionBuilder()
-
-
Method Details
-
name
New value to set. Must not be empty.
- Parameters:
name
- value to be set- Returns:
- Builder
-
getName
New value to set. Must not be empty.
- Returns:
- name
-
build
builds TaxCategoryChangeNameAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<TaxCategoryChangeNameAction>
- Returns:
- TaxCategoryChangeNameAction
-
buildUnchecked
builds TaxCategoryChangeNameAction without checking for non-null required values- Returns:
- TaxCategoryChangeNameAction
-
of
factory method for an instance of TaxCategoryChangeNameActionBuilder- Returns:
- builder
-
of
create builder for TaxCategoryChangeNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-