Class RemoveParcelFromDeliveryDraftBuilder
java.lang.Object
com.commercetools.importapi.models.order_patches.RemoveParcelFromDeliveryDraftBuilder
- All Implemented Interfaces:
Builder<RemoveParcelFromDeliveryDraft>
public class RemoveParcelFromDeliveryDraftBuilder
extends Object
implements Builder<RemoveParcelFromDeliveryDraft>
RemoveParcelFromDeliveryDraftBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
RemoveParcelFromDeliveryDraft removeParcelFromDeliveryDraft = RemoveParcelFromDeliveryDraft.builder()
.parcelId("{parcelId}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds RemoveParcelFromDeliveryDraft with checking for non-null required valuesbuilds RemoveParcelFromDeliveryDraft without checking for non-null required valuesvalue of parcelId}of()
factory method for an instance of RemoveParcelFromDeliveryDraftBuilderof
(RemoveParcelFromDeliveryDraft template) create builder for RemoveParcelFromDeliveryDraft instanceset the value to the parcelId
-
Constructor Details
-
RemoveParcelFromDeliveryDraftBuilder
public RemoveParcelFromDeliveryDraftBuilder()
-
-
Method Details
-
parcelId
set the value to the parcelId- Parameters:
parcelId
- value to be set- Returns:
- Builder
-
getParcelId
value of parcelId}- Returns:
- parcelId
-
build
builds RemoveParcelFromDeliveryDraft with checking for non-null required values- Specified by:
build
in interfaceBuilder<RemoveParcelFromDeliveryDraft>
- Returns:
- RemoveParcelFromDeliveryDraft
-
buildUnchecked
builds RemoveParcelFromDeliveryDraft without checking for non-null required values- Returns:
- RemoveParcelFromDeliveryDraft
-
of
factory method for an instance of RemoveParcelFromDeliveryDraftBuilder- Returns:
- builder
-
of
create builder for RemoveParcelFromDeliveryDraft instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-