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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds CustomerCustomTypeRemovedMessagePayload with checking for non-null required valuesbuilds CustomerCustomTypeRemovedMessagePayload without checking for non-null required valuesidof the Custom Type that was removed.of()factory method for an instance of CustomerCustomTypeRemovedMessagePayloadBuilderof(CustomerCustomTypeRemovedMessagePayload template) create builder for CustomerCustomTypeRemovedMessagePayload instancepreviousTypeId(String previousTypeId) idof the Custom Type that was removed.
-
Constructor Details
-
CustomerCustomTypeRemovedMessagePayloadBuilder
public CustomerCustomTypeRemovedMessagePayloadBuilder()
-
-
Method Details
-
previousTypeId
public CustomerCustomTypeRemovedMessagePayloadBuilder previousTypeId(@Nullable String previousTypeId) idof the Custom Type that was removed. Absent if there was no previous Custom Type present.- Parameters:
previousTypeId- value to be set- Returns:
- Builder
-
getPreviousTypeId
idof 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:
buildin 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
-