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