Class OrderRemoveParcelFromDeliveryActionBuilder
java.lang.Object
com.commercetools.api.models.order.OrderRemoveParcelFromDeliveryActionBuilder
- All Implemented Interfaces:
Builder<OrderRemoveParcelFromDeliveryAction>
public class OrderRemoveParcelFromDeliveryActionBuilder
extends Object
implements Builder<OrderRemoveParcelFromDeliveryAction>
OrderRemoveParcelFromDeliveryActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderRemoveParcelFromDeliveryAction orderRemoveParcelFromDeliveryAction = OrderRemoveParcelFromDeliveryAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds OrderRemoveParcelFromDeliveryAction with checking for non-null required valuesbuilds OrderRemoveParcelFromDeliveryAction without checking for non-null required valuesid
of an existing Parcel.key
of an existing Parcel.of()
factory method for an instance of OrderRemoveParcelFromDeliveryActionBuilderof
(OrderRemoveParcelFromDeliveryAction template) create builder for OrderRemoveParcelFromDeliveryAction instanceid
of an existing Parcel.key
of an existing Parcel.
-
Constructor Details
-
OrderRemoveParcelFromDeliveryActionBuilder
public OrderRemoveParcelFromDeliveryActionBuilder()
-
-
Method Details
-
parcelId
id
of an existing Parcel.Either
parcelId
orparcelKey
must be provided.- Parameters:
parcelId
- value to be set- Returns:
- Builder
-
parcelKey
key
of an existing Parcel.Either
parcelId
orparcelKey
must be provided.- Parameters:
parcelKey
- value to be set- Returns:
- Builder
-
getParcelId
id
of an existing Parcel.Either
parcelId
orparcelKey
must be provided.- Returns:
- parcelId
-
getParcelKey
key
of an existing Parcel.Either
parcelId
orparcelKey
must be provided.- Returns:
- parcelKey
-
build
builds OrderRemoveParcelFromDeliveryAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderRemoveParcelFromDeliveryAction>
- Returns:
- OrderRemoveParcelFromDeliveryAction
-
buildUnchecked
builds OrderRemoveParcelFromDeliveryAction without checking for non-null required values- Returns:
- OrderRemoveParcelFromDeliveryAction
-
of
factory method for an instance of OrderRemoveParcelFromDeliveryActionBuilder- Returns:
- builder
-
of
public static OrderRemoveParcelFromDeliveryActionBuilder of(OrderRemoveParcelFromDeliveryAction template) create builder for OrderRemoveParcelFromDeliveryAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-