Class StagedOrderChangeTaxModeActionBuilder
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderChangeTaxModeActionBuilder
- All Implemented Interfaces:
Builder<StagedOrderChangeTaxModeAction>
public class StagedOrderChangeTaxModeActionBuilder
extends Object
implements Builder<StagedOrderChangeTaxModeAction>
StagedOrderChangeTaxModeActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedOrderChangeTaxModeAction stagedOrderChangeTaxModeAction = StagedOrderChangeTaxModeAction.builder()
.taxMode(TaxMode.PLATFORM)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StagedOrderChangeTaxModeAction with checking for non-null required valuesbuilds StagedOrderChangeTaxModeAction without checking for non-null required valuesThe new TaxMode.of()
factory method for an instance of StagedOrderChangeTaxModeActionBuilderof
(StagedOrderChangeTaxModeAction template) create builder for StagedOrderChangeTaxModeAction instanceThe new TaxMode.
-
Constructor Details
-
StagedOrderChangeTaxModeActionBuilder
public StagedOrderChangeTaxModeActionBuilder()
-
-
Method Details
-
taxMode
The new TaxMode.
- Parameters:
taxMode
- value to be set- Returns:
- Builder
-
getTaxMode
The new TaxMode.
- Returns:
- taxMode
-
build
builds StagedOrderChangeTaxModeAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<StagedOrderChangeTaxModeAction>
- Returns:
- StagedOrderChangeTaxModeAction
-
buildUnchecked
builds StagedOrderChangeTaxModeAction without checking for non-null required values- Returns:
- StagedOrderChangeTaxModeAction
-
of
factory method for an instance of StagedOrderChangeTaxModeActionBuilder- Returns:
- builder
-
of
create builder for StagedOrderChangeTaxModeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-