Class RemoveDeliveryDraftBuilder
java.lang.Object
com.commercetools.importapi.models.order_patches.RemoveDeliveryDraftBuilder
- All Implemented Interfaces:
Builder<RemoveDeliveryDraft>
RemoveDeliveryDraftBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
RemoveDeliveryDraft removeDeliveryDraft = RemoveDeliveryDraft.builder()
.id("{id}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds RemoveDeliveryDraft with checking for non-null required valuesbuilds RemoveDeliveryDraft without checking for non-null required valuesgetId()
value of id}set the value to the idstatic RemoveDeliveryDraftBuilder
of()
factory method for an instance of RemoveDeliveryDraftBuilderstatic RemoveDeliveryDraftBuilder
of
(RemoveDeliveryDraft template) create builder for RemoveDeliveryDraft instance
-
Constructor Details
-
RemoveDeliveryDraftBuilder
public RemoveDeliveryDraftBuilder()
-
-
Method Details
-
id
set the value to the id- Parameters:
id
- value to be set- Returns:
- Builder
-
getId
value of id}- Returns:
- id
-
build
builds RemoveDeliveryDraft with checking for non-null required values- Specified by:
build
in interfaceBuilder<RemoveDeliveryDraft>
- Returns:
- RemoveDeliveryDraft
-
buildUnchecked
builds RemoveDeliveryDraft without checking for non-null required values- Returns:
- RemoveDeliveryDraft
-
of
factory method for an instance of RemoveDeliveryDraftBuilder- Returns:
- builder
-
of
create builder for RemoveDeliveryDraft instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-