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