Class CartScoreTypeBuilder
java.lang.Object
com.commercetools.api.models.project.CartScoreTypeBuilder
- All Implemented Interfaces:
Builder<CartScoreType>
CartScoreTypeBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CartScoreType cartScoreType = CartScoreType.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CartScoreType with checking for non-null required valuesbuilds CartScoreType without checking for non-null required valuesstatic CartScoreTypeBuilder
of()
factory method for an instance of CartScoreTypeBuilderstatic CartScoreTypeBuilder
of
(CartScoreType template) create builder for CartScoreType instance
-
Constructor Details
-
CartScoreTypeBuilder
public CartScoreTypeBuilder()
-
-
Method Details
-
build
builds CartScoreType with checking for non-null required values- Specified by:
build
in interfaceBuilder<CartScoreType>
- Returns:
- CartScoreType
-
buildUnchecked
builds CartScoreType without checking for non-null required values- Returns:
- CartScoreType
-
of
factory method for an instance of CartScoreTypeBuilder- Returns:
- builder
-
of
create builder for CartScoreType instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-