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