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