Package com.commercetools.api.models.me
Class MyCustomerRemoveShippingAddressIdActionBuilder
java.lang.Object
com.commercetools.api.models.me.MyCustomerRemoveShippingAddressIdActionBuilder
- All Implemented Interfaces:
Builder<MyCustomerRemoveShippingAddressIdAction>
public class MyCustomerRemoveShippingAddressIdActionBuilder
extends Object
implements Builder<MyCustomerRemoveShippingAddressIdAction>
MyCustomerRemoveShippingAddressIdActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyCustomerRemoveShippingAddressIdAction myCustomerRemoveShippingAddressIdAction = MyCustomerRemoveShippingAddressIdAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionid
of the Address to remove fromshippingAddressesIds
.addressKey
(String addressKey) key
of the Address to remove fromshippingAddressesIds
.build()
builds MyCustomerRemoveShippingAddressIdAction with checking for non-null required valuesbuilds MyCustomerRemoveShippingAddressIdAction without checking for non-null required valuesid
of the Address to remove fromshippingAddressesIds
.key
of the Address to remove fromshippingAddressesIds
.of()
factory method for an instance of MyCustomerRemoveShippingAddressIdActionBuilderof
(MyCustomerRemoveShippingAddressIdAction template) create builder for MyCustomerRemoveShippingAddressIdAction instance
-
Constructor Details
-
MyCustomerRemoveShippingAddressIdActionBuilder
public MyCustomerRemoveShippingAddressIdActionBuilder()
-
-
Method Details
-
addressId
id
of the Address to remove fromshippingAddressesIds
.- Parameters:
addressId
- value to be set- Returns:
- Builder
-
addressKey
key
of the Address to remove fromshippingAddressesIds
.- Parameters:
addressKey
- value to be set- Returns:
- Builder
-
getAddressId
id
of the Address to remove fromshippingAddressesIds
.- Returns:
- addressId
-
getAddressKey
key
of the Address to remove fromshippingAddressesIds
.- Returns:
- addressKey
-
build
builds MyCustomerRemoveShippingAddressIdAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<MyCustomerRemoveShippingAddressIdAction>
- Returns:
- MyCustomerRemoveShippingAddressIdAction
-
buildUnchecked
builds MyCustomerRemoveShippingAddressIdAction without checking for non-null required values- Returns:
- MyCustomerRemoveShippingAddressIdAction
-
of
factory method for an instance of MyCustomerRemoveShippingAddressIdActionBuilder- Returns:
- builder
-
of
public static MyCustomerRemoveShippingAddressIdActionBuilder of(MyCustomerRemoveShippingAddressIdAction template) create builder for MyCustomerRemoveShippingAddressIdAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-