Class TaxCategoryRemoveTaxRateActionBuilder
java.lang.Object
com.commercetools.api.models.tax_category.TaxCategoryRemoveTaxRateActionBuilder
- All Implemented Interfaces:
Builder<TaxCategoryRemoveTaxRateAction>
public class TaxCategoryRemoveTaxRateActionBuilder
extends Object
implements Builder<TaxCategoryRemoveTaxRateAction>
TaxCategoryRemoveTaxRateActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TaxCategoryRemoveTaxRateAction taxCategoryRemoveTaxRateAction = TaxCategoryRemoveTaxRateAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds TaxCategoryRemoveTaxRateAction with checking for non-null required valuesbuilds TaxCategoryRemoveTaxRateAction without checking for non-null required valuesID of the TaxRate to remove.Key of the TaxRate to remove.of()
factory method for an instance of TaxCategoryRemoveTaxRateActionBuilderof
(TaxCategoryRemoveTaxRateAction template) create builder for TaxCategoryRemoveTaxRateAction instanceID of the TaxRate to remove.taxRateKey
(String taxRateKey) Key of the TaxRate to remove.
-
Constructor Details
-
TaxCategoryRemoveTaxRateActionBuilder
public TaxCategoryRemoveTaxRateActionBuilder()
-
-
Method Details
-
taxRateId
ID of the TaxRate to remove. Either
taxRateId
ortaxRateKey
is required for this update action.- Parameters:
taxRateId
- value to be set- Returns:
- Builder
-
taxRateKey
Key of the TaxRate to remove. Either
taxRateId
ortaxRateKey
is required for this update action.- Parameters:
taxRateKey
- value to be set- Returns:
- Builder
-
getTaxRateId
ID of the TaxRate to remove. Either
taxRateId
ortaxRateKey
is required for this update action.- Returns:
- taxRateId
-
getTaxRateKey
Key of the TaxRate to remove. Either
taxRateId
ortaxRateKey
is required for this update action.- Returns:
- taxRateKey
-
build
builds TaxCategoryRemoveTaxRateAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<TaxCategoryRemoveTaxRateAction>
- Returns:
- TaxCategoryRemoveTaxRateAction
-
buildUnchecked
builds TaxCategoryRemoveTaxRateAction without checking for non-null required values- Returns:
- TaxCategoryRemoveTaxRateAction
-
of
factory method for an instance of TaxCategoryRemoveTaxRateActionBuilder- Returns:
- builder
-
of
create builder for TaxCategoryRemoveTaxRateAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-