Class StagedOrderRemoveDeliveryActionBuilder
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderRemoveDeliveryActionBuilder
- All Implemented Interfaces:
Builder<StagedOrderRemoveDeliveryAction>
public class StagedOrderRemoveDeliveryActionBuilder
extends Object
implements Builder<StagedOrderRemoveDeliveryAction>
StagedOrderRemoveDeliveryActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedOrderRemoveDeliveryAction stagedOrderRemoveDeliveryAction = StagedOrderRemoveDeliveryAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StagedOrderRemoveDeliveryAction with checking for non-null required valuesbuilds StagedOrderRemoveDeliveryAction without checking for non-null required valuesdeliveryId
(String deliveryId) id
of an existing Delivery.deliveryKey
(String deliveryKey) key
of an existing Delivery.id
of an existing Delivery.key
of an existing Delivery.of()
factory method for an instance of StagedOrderRemoveDeliveryActionBuilderof
(StagedOrderRemoveDeliveryAction template) create builder for StagedOrderRemoveDeliveryAction instance
-
Constructor Details
-
StagedOrderRemoveDeliveryActionBuilder
public StagedOrderRemoveDeliveryActionBuilder()
-
-
Method Details
-
deliveryId
id
of an existing Delivery.Either
deliveryId
ordeliveryKey
must be provided.- Parameters:
deliveryId
- value to be set- Returns:
- Builder
-
deliveryKey
key
of an existing Delivery.Either
deliveryId
ordeliveryKey
must be provided.- Parameters:
deliveryKey
- value to be set- Returns:
- Builder
-
getDeliveryId
id
of an existing Delivery.Either
deliveryId
ordeliveryKey
must be provided.- Returns:
- deliveryId
-
getDeliveryKey
key
of an existing Delivery.Either
deliveryId
ordeliveryKey
must be provided.- Returns:
- deliveryKey
-
build
builds StagedOrderRemoveDeliveryAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<StagedOrderRemoveDeliveryAction>
- Returns:
- StagedOrderRemoveDeliveryAction
-
buildUnchecked
builds StagedOrderRemoveDeliveryAction without checking for non-null required values- Returns:
- StagedOrderRemoveDeliveryAction
-
of
factory method for an instance of StagedOrderRemoveDeliveryActionBuilder- Returns:
- builder
-
of
create builder for StagedOrderRemoveDeliveryAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-