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