Class StagedOrderChangeTaxCalculationModeActionBuilder
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderChangeTaxCalculationModeActionBuilder
- All Implemented Interfaces:
Builder<StagedOrderChangeTaxCalculationModeAction>
public class StagedOrderChangeTaxCalculationModeActionBuilder
extends Object
implements Builder<StagedOrderChangeTaxCalculationModeAction>
StagedOrderChangeTaxCalculationModeActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedOrderChangeTaxCalculationModeAction stagedOrderChangeTaxCalculationModeAction = StagedOrderChangeTaxCalculationModeAction.builder()
.taxCalculationMode(TaxCalculationMode.LINE_ITEM_LEVEL)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StagedOrderChangeTaxCalculationModeAction with checking for non-null required valuesbuilds StagedOrderChangeTaxCalculationModeAction without checking for non-null required valuesNew value to set.of()
factory method for an instance of StagedOrderChangeTaxCalculationModeActionBuilderof
(StagedOrderChangeTaxCalculationModeAction template) create builder for StagedOrderChangeTaxCalculationModeAction instancetaxCalculationMode
(TaxCalculationMode taxCalculationMode) New value to set.
-
Constructor Details
-
StagedOrderChangeTaxCalculationModeActionBuilder
public StagedOrderChangeTaxCalculationModeActionBuilder()
-
-
Method Details
-
taxCalculationMode
public StagedOrderChangeTaxCalculationModeActionBuilder taxCalculationMode(TaxCalculationMode taxCalculationMode) New value to set.
- Parameters:
taxCalculationMode
- value to be set- Returns:
- Builder
-
getTaxCalculationMode
New value to set.
- Returns:
- taxCalculationMode
-
build
builds StagedOrderChangeTaxCalculationModeAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<StagedOrderChangeTaxCalculationModeAction>
- Returns:
- StagedOrderChangeTaxCalculationModeAction
-
buildUnchecked
builds StagedOrderChangeTaxCalculationModeAction without checking for non-null required values- Returns:
- StagedOrderChangeTaxCalculationModeAction
-
of
factory method for an instance of StagedOrderChangeTaxCalculationModeActionBuilder- Returns:
- builder
-
of
public static StagedOrderChangeTaxCalculationModeActionBuilder of(StagedOrderChangeTaxCalculationModeAction template) create builder for StagedOrderChangeTaxCalculationModeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-