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