Package com.commercetools.api.models.me
Class MyCartRemoveItemShippingAddressActionBuilder
java.lang.Object
com.commercetools.api.models.me.MyCartRemoveItemShippingAddressActionBuilder
- All Implemented Interfaces:
Builder<MyCartRemoveItemShippingAddressAction>
public class MyCartRemoveItemShippingAddressActionBuilder
extends Object
implements Builder<MyCartRemoveItemShippingAddressAction>
MyCartRemoveItemShippingAddressActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyCartRemoveItemShippingAddressAction myCartRemoveItemShippingAddressAction = MyCartRemoveItemShippingAddressAction.builder()
.addressKey("{addressKey}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddressKey
(String addressKey) key
of the Address to remove fromitemShippingAddresses
.build()
builds MyCartRemoveItemShippingAddressAction with checking for non-null required valuesbuilds MyCartRemoveItemShippingAddressAction without checking for non-null required valueskey
of the Address to remove fromitemShippingAddresses
.of()
factory method for an instance of MyCartRemoveItemShippingAddressActionBuilderof
(MyCartRemoveItemShippingAddressAction template) create builder for MyCartRemoveItemShippingAddressAction instance
-
Constructor Details
-
MyCartRemoveItemShippingAddressActionBuilder
public MyCartRemoveItemShippingAddressActionBuilder()
-
-
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 MyCartRemoveItemShippingAddressAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<MyCartRemoveItemShippingAddressAction>
- Returns:
- MyCartRemoveItemShippingAddressAction
-
buildUnchecked
builds MyCartRemoveItemShippingAddressAction without checking for non-null required values- Returns:
- MyCartRemoveItemShippingAddressAction
-
of
factory method for an instance of MyCartRemoveItemShippingAddressActionBuilder- Returns:
- builder
-
of
public static MyCartRemoveItemShippingAddressActionBuilder of(MyCartRemoveItemShippingAddressAction template) create builder for MyCartRemoveItemShippingAddressAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-