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