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