Class StackingBuilder
java.lang.Object
com.commercetools.api.models.cart.StackingBuilder
StackingBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
Stacking stacking = Stacking.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds Stacking with checking for non-null required valuesbuilds Stacking without checking for non-null required valuesstatic StackingBuilder
of()
factory method for an instance of StackingBuilderstatic StackingBuilder
create builder for Stacking instance
-
Constructor Details
-
StackingBuilder
public StackingBuilder()
-
-
Method Details
-
build
builds Stacking with checking for non-null required values -
buildUnchecked
builds Stacking without checking for non-null required values- Returns:
- Stacking
-
of
factory method for an instance of StackingBuilder- Returns:
- builder
-
of
create builder for Stacking instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-