Class ProjectChangeCountryTaxRateFallbackEnabledActionBuilder
java.lang.Object
com.commercetools.api.models.project.ProjectChangeCountryTaxRateFallbackEnabledActionBuilder
- All Implemented Interfaces:
Builder<ProjectChangeCountryTaxRateFallbackEnabledAction>
public class ProjectChangeCountryTaxRateFallbackEnabledActionBuilder
extends Object
implements Builder<ProjectChangeCountryTaxRateFallbackEnabledAction>
ProjectChangeCountryTaxRateFallbackEnabledActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectChangeCountryTaxRateFallbackEnabledAction projectChangeCountryTaxRateFallbackEnabledAction = ProjectChangeCountryTaxRateFallbackEnabledAction.builder()
.countryTaxRateFallbackEnabled(true)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ProjectChangeCountryTaxRateFallbackEnabledAction with checking for non-null required valuesbuilds ProjectChangeCountryTaxRateFallbackEnabledAction without checking for non-null required valuescountryTaxRateFallbackEnabled
(Boolean countryTaxRateFallbackEnabled) Whentrue
, country - no state Tax Rate is used as fallback.Whentrue
, country - no state Tax Rate is used as fallback.of()
factory method for an instance of ProjectChangeCountryTaxRateFallbackEnabledActionBuildercreate builder for ProjectChangeCountryTaxRateFallbackEnabledAction instance
-
Constructor Details
-
ProjectChangeCountryTaxRateFallbackEnabledActionBuilder
public ProjectChangeCountryTaxRateFallbackEnabledActionBuilder()
-
-
Method Details
-
countryTaxRateFallbackEnabled
public ProjectChangeCountryTaxRateFallbackEnabledActionBuilder countryTaxRateFallbackEnabled(Boolean countryTaxRateFallbackEnabled) When
true
, country - no state Tax Rate is used as fallback. See CartsConfiguration.- Parameters:
countryTaxRateFallbackEnabled
- value to be set- Returns:
- Builder
-
getCountryTaxRateFallbackEnabled
When
true
, country - no state Tax Rate is used as fallback. See CartsConfiguration.- Returns:
- countryTaxRateFallbackEnabled
-
build
builds ProjectChangeCountryTaxRateFallbackEnabledAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProjectChangeCountryTaxRateFallbackEnabledAction>
- Returns:
- ProjectChangeCountryTaxRateFallbackEnabledAction
-
buildUnchecked
builds ProjectChangeCountryTaxRateFallbackEnabledAction without checking for non-null required values- Returns:
- ProjectChangeCountryTaxRateFallbackEnabledAction
-
of
factory method for an instance of ProjectChangeCountryTaxRateFallbackEnabledActionBuilder- Returns:
- builder
-
of
public static ProjectChangeCountryTaxRateFallbackEnabledActionBuilder of(ProjectChangeCountryTaxRateFallbackEnabledAction template) create builder for ProjectChangeCountryTaxRateFallbackEnabledAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-