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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds OrderCustomTypeRemovedMessagePayload with checking for non-null required valuesbuilds OrderCustomTypeRemovedMessagePayload without checking for non-null required valuesidof the Custom Type that was removed.of()factory method for an instance of OrderCustomTypeRemovedMessagePayloadBuilderof(OrderCustomTypeRemovedMessagePayload template) create builder for OrderCustomTypeRemovedMessagePayload instancepreviousTypeId(String previousTypeId) idof the Custom Type that was removed.
-
Constructor Details
-
OrderCustomTypeRemovedMessagePayloadBuilder
public OrderCustomTypeRemovedMessagePayloadBuilder()
-
-
Method Details
-
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 OrderCustomTypeRemovedMessagePayload with checking for non-null required values- Specified by:
buildin 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
-