Class CartFrozenMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.CartFrozenMessagePayloadBuilder
- All Implemented Interfaces:
Builder<CartFrozenMessagePayload>
public class CartFrozenMessagePayloadBuilder
extends Object
implements Builder<CartFrozenMessagePayload>
CartFrozenMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CartFrozenMessagePayload cartFrozenMessagePayload = CartFrozenMessagePayload.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds CartFrozenMessagePayload with checking for non-null required valuesbuilds CartFrozenMessagePayload without checking for non-null required valuesof()factory method for an instance of CartFrozenMessagePayloadBuilderof(CartFrozenMessagePayload template) create builder for CartFrozenMessagePayload instance
-
Constructor Details
-
CartFrozenMessagePayloadBuilder
public CartFrozenMessagePayloadBuilder()
-
-
Method Details
-
build
builds CartFrozenMessagePayload with checking for non-null required values- Specified by:
buildin interfaceBuilder<CartFrozenMessagePayload>- Returns:
- CartFrozenMessagePayload
-
buildUnchecked
builds CartFrozenMessagePayload without checking for non-null required values- Returns:
- CartFrozenMessagePayload
-
of
factory method for an instance of CartFrozenMessagePayloadBuilder- Returns:
- builder
-
of
create builder for CartFrozenMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-