Class CustomerCustomTypeRemovedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.CustomerCustomTypeRemovedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<CustomerCustomTypeRemovedMessagePayload>
public class CustomerCustomTypeRemovedMessagePayloadBuilder
extends Object
implements Builder<CustomerCustomTypeRemovedMessagePayload>
CustomerCustomTypeRemovedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerCustomTypeRemovedMessagePayload customerCustomTypeRemovedMessagePayload = CustomerCustomTypeRemovedMessagePayload.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomerCustomTypeRemovedMessagePayload with checking for non-null required valuesbuilds CustomerCustomTypeRemovedMessagePayload without checking for non-null required valuesid
of the Custom Type that was removed.of()
factory method for an instance of CustomerCustomTypeRemovedMessagePayloadBuilderof
(CustomerCustomTypeRemovedMessagePayload template) create builder for CustomerCustomTypeRemovedMessagePayload instancepreviousTypeId
(String previousTypeId) id
of the Custom Type that was removed.
-
Constructor Details
-
CustomerCustomTypeRemovedMessagePayloadBuilder
public CustomerCustomTypeRemovedMessagePayloadBuilder()
-
-
Method Details
-
previousTypeId
public CustomerCustomTypeRemovedMessagePayloadBuilder previousTypeId(@Nullable String previousTypeId) id
of the Custom Type that was removed. Absent if there was no previous Custom Type present.- Parameters:
previousTypeId
- value to be set- Returns:
- Builder
-
getPreviousTypeId
id
of the Custom Type that was removed. Absent if there was no previous Custom Type present.- Returns:
- previousTypeId
-
build
builds CustomerCustomTypeRemovedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomerCustomTypeRemovedMessagePayload>
- Returns:
- CustomerCustomTypeRemovedMessagePayload
-
buildUnchecked
builds CustomerCustomTypeRemovedMessagePayload without checking for non-null required values- Returns:
- CustomerCustomTypeRemovedMessagePayload
-
of
factory method for an instance of CustomerCustomTypeRemovedMessagePayloadBuilder- Returns:
- builder
-
of
public static CustomerCustomTypeRemovedMessagePayloadBuilder of(CustomerCustomTypeRemovedMessagePayload template) create builder for CustomerCustomTypeRemovedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-