Class OrderCustomFieldRemovedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.OrderCustomFieldRemovedMessagePayloadBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<OrderCustomFieldRemovedMessagePayload>
public class OrderCustomFieldRemovedMessagePayloadBuilder
extends Object
implements io.vrap.rmf.base.client.Builder<OrderCustomFieldRemovedMessagePayload>
OrderCustomFieldRemovedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderCustomFieldRemovedMessagePayload orderCustomFieldRemovedMessagePayload = OrderCustomFieldRemovedMessagePayload.builder()
.name("{name}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds OrderCustomFieldRemovedMessagePayload with checking for non-null required valuesbuilds OrderCustomFieldRemovedMessagePayload without checking for non-null required valuesgetName()
Name of the Custom Field that was removed.Name of the Custom Field that was removed.of()
factory method for an instance of OrderCustomFieldRemovedMessagePayloadBuilderof
(OrderCustomFieldRemovedMessagePayload template) create builder for OrderCustomFieldRemovedMessagePayload instance
-
Constructor Details
-
OrderCustomFieldRemovedMessagePayloadBuilder
public OrderCustomFieldRemovedMessagePayloadBuilder()
-
-
Method Details
-
name
Name of the Custom Field that was removed.
- Parameters:
name
- value to be set- Returns:
- Builder
-
getName
Name of the Custom Field that was removed.
- Returns:
- name
-
build
builds OrderCustomFieldRemovedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<OrderCustomFieldRemovedMessagePayload>
- Returns:
- OrderCustomFieldRemovedMessagePayload
-
buildUnchecked
builds OrderCustomFieldRemovedMessagePayload without checking for non-null required values- Returns:
- OrderCustomFieldRemovedMessagePayload
-
of
factory method for an instance of OrderCustomFieldRemovedMessagePayloadBuilder- Returns:
- builder
-
of
public static OrderCustomFieldRemovedMessagePayloadBuilder of(OrderCustomFieldRemovedMessagePayload template) create builder for OrderCustomFieldRemovedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-