Class ProjectSetShippingRateInputTypeActionBuilder
java.lang.Object
com.commercetools.api.models.project.ProjectSetShippingRateInputTypeActionBuilder
- All Implemented Interfaces:
Builder<ProjectSetShippingRateInputTypeAction>
public class ProjectSetShippingRateInputTypeActionBuilder
extends Object
implements Builder<ProjectSetShippingRateInputTypeAction>
ProjectSetShippingRateInputTypeActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectSetShippingRateInputTypeAction projectSetShippingRateInputTypeAction = ProjectSetShippingRateInputTypeAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds ProjectSetShippingRateInputTypeAction with checking for non-null required valuesbuilds ProjectSetShippingRateInputTypeAction without checking for non-null required valuesValue to set.of()factory method for an instance of ProjectSetShippingRateInputTypeActionBuilderof(ProjectSetShippingRateInputTypeAction template) create builder for ProjectSetShippingRateInputTypeAction instanceshippingRateInputType(ShippingRateInputType shippingRateInputType) Value to set.shippingRateInputType(Function<ShippingRateInputTypeBuilder, Builder<? extends ShippingRateInputType>> builder) Value to set.
-
Constructor Details
-
ProjectSetShippingRateInputTypeActionBuilder
public ProjectSetShippingRateInputTypeActionBuilder()
-
-
Method Details
-
shippingRateInputType
public ProjectSetShippingRateInputTypeActionBuilder shippingRateInputType(@Nullable ShippingRateInputType shippingRateInputType) Value to set. If empty, any existing value will be removed.
- Parameters:
shippingRateInputType- value to be set- Returns:
- Builder
-
shippingRateInputType
public ProjectSetShippingRateInputTypeActionBuilder shippingRateInputType(Function<ShippingRateInputTypeBuilder, Builder<? extends ShippingRateInputType>> builder) Value to set. If empty, any existing value will be removed.
- Parameters:
builder- function to build the shippingRateInputType value- Returns:
- Builder
-
getShippingRateInputType
Value to set. If empty, any existing value will be removed.
- Returns:
- shippingRateInputType
-
build
builds ProjectSetShippingRateInputTypeAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<ProjectSetShippingRateInputTypeAction>- Returns:
- ProjectSetShippingRateInputTypeAction
-
buildUnchecked
builds ProjectSetShippingRateInputTypeAction without checking for non-null required values- Returns:
- ProjectSetShippingRateInputTypeAction
-
of
factory method for an instance of ProjectSetShippingRateInputTypeActionBuilder- Returns:
- builder
-
of
public static ProjectSetShippingRateInputTypeActionBuilder of(ProjectSetShippingRateInputTypeAction template) create builder for ProjectSetShippingRateInputTypeAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-