Class OrderCustomTypeRemovedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.OrderCustomTypeRemovedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<OrderCustomTypeRemovedMessagePayload>
public class OrderCustomTypeRemovedMessagePayloadBuilder
extends Object
implements Builder<OrderCustomTypeRemovedMessagePayload>
OrderCustomTypeRemovedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderCustomTypeRemovedMessagePayload orderCustomTypeRemovedMessagePayload = OrderCustomTypeRemovedMessagePayload.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds OrderCustomTypeRemovedMessagePayload with checking for non-null required valuesbuilds OrderCustomTypeRemovedMessagePayload without checking for non-null required valuesid
of the Custom Type that was removed.of()
factory method for an instance of OrderCustomTypeRemovedMessagePayloadBuilderof
(OrderCustomTypeRemovedMessagePayload template) create builder for OrderCustomTypeRemovedMessagePayload instancepreviousTypeId
(String previousTypeId) id
of the Custom Type that was removed.
-
Constructor Details
-
OrderCustomTypeRemovedMessagePayloadBuilder
public OrderCustomTypeRemovedMessagePayloadBuilder()
-
-
Method Details
-
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 OrderCustomTypeRemovedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderCustomTypeRemovedMessagePayload>
- Returns:
- OrderCustomTypeRemovedMessagePayload
-
buildUnchecked
builds OrderCustomTypeRemovedMessagePayload without checking for non-null required values- Returns:
- OrderCustomTypeRemovedMessagePayload
-
of
factory method for an instance of OrderCustomTypeRemovedMessagePayloadBuilder- Returns:
- builder
-
of
public static OrderCustomTypeRemovedMessagePayloadBuilder of(OrderCustomTypeRemovedMessagePayload template) create builder for OrderCustomTypeRemovedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-