Class OrderRemoveItemShippingAddressActionBuilder
java.lang.Object
com.commercetools.api.models.order.OrderRemoveItemShippingAddressActionBuilder
- All Implemented Interfaces:
Builder<OrderRemoveItemShippingAddressAction>
public class OrderRemoveItemShippingAddressActionBuilder
extends Object
implements Builder<OrderRemoveItemShippingAddressAction>
OrderRemoveItemShippingAddressActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderRemoveItemShippingAddressAction orderRemoveItemShippingAddressAction = OrderRemoveItemShippingAddressAction.builder()
.addressKey("{addressKey}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddressKey
(String addressKey) key
of the Address to remove fromitemShippingAddresses
.build()
builds OrderRemoveItemShippingAddressAction with checking for non-null required valuesbuilds OrderRemoveItemShippingAddressAction without checking for non-null required valueskey
of the Address to remove fromitemShippingAddresses
.of()
factory method for an instance of OrderRemoveItemShippingAddressActionBuilderof
(OrderRemoveItemShippingAddressAction template) create builder for OrderRemoveItemShippingAddressAction instance
-
Constructor Details
-
OrderRemoveItemShippingAddressActionBuilder
public OrderRemoveItemShippingAddressActionBuilder()
-
-
Method Details
-
addressKey
key
of the Address to remove fromitemShippingAddresses
.- Parameters:
addressKey
- value to be set- Returns:
- Builder
-
getAddressKey
key
of the Address to remove fromitemShippingAddresses
.- Returns:
- addressKey
-
build
builds OrderRemoveItemShippingAddressAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderRemoveItemShippingAddressAction>
- Returns:
- OrderRemoveItemShippingAddressAction
-
buildUnchecked
builds OrderRemoveItemShippingAddressAction without checking for non-null required values- Returns:
- OrderRemoveItemShippingAddressAction
-
of
factory method for an instance of OrderRemoveItemShippingAddressActionBuilder- Returns:
- builder
-
of
public static OrderRemoveItemShippingAddressActionBuilder of(OrderRemoveItemShippingAddressAction template) create builder for OrderRemoveItemShippingAddressAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-