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