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