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