Class CustomerRemoveAddressActionBuilder
java.lang.Object
com.commercetools.api.models.customer.CustomerRemoveAddressActionBuilder
- All Implemented Interfaces:
Builder<CustomerRemoveAddressAction>
public class CustomerRemoveAddressActionBuilder
extends Object
implements Builder<CustomerRemoveAddressAction>
CustomerRemoveAddressActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerRemoveAddressAction customerRemoveAddressAction = CustomerRemoveAddressAction.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 CustomerRemoveAddressAction with checking for non-null required valuesbuilds CustomerRemoveAddressAction 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 CustomerRemoveAddressActionBuilderof
(CustomerRemoveAddressAction template) create builder for CustomerRemoveAddressAction instance
-
Constructor Details
-
CustomerRemoveAddressActionBuilder
public CustomerRemoveAddressActionBuilder()
-
-
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 CustomerRemoveAddressAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomerRemoveAddressAction>
- Returns:
- CustomerRemoveAddressAction
-
buildUnchecked
builds CustomerRemoveAddressAction without checking for non-null required values- Returns:
- CustomerRemoveAddressAction
-
of
factory method for an instance of CustomerRemoveAddressActionBuilder- Returns:
- builder
-
of
create builder for CustomerRemoveAddressAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-