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