Class BusinessUnitRemoveShippingAddressIdActionBuilder
java.lang.Object
com.commercetools.api.models.business_unit.BusinessUnitRemoveShippingAddressIdActionBuilder
- All Implemented Interfaces:
Builder<BusinessUnitRemoveShippingAddressIdAction>
public class BusinessUnitRemoveShippingAddressIdActionBuilder
extends Object
implements Builder<BusinessUnitRemoveShippingAddressIdAction>
BusinessUnitRemoveShippingAddressIdActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
BusinessUnitRemoveShippingAddressIdAction businessUnitRemoveShippingAddressIdAction = BusinessUnitRemoveShippingAddressIdAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionID of the address to be removed fromshippingAddressIds
.addressKey
(String addressKey) Key of the address to be removed fromshippingAddressIds
.build()
builds BusinessUnitRemoveShippingAddressIdAction with checking for non-null required valuesbuilds BusinessUnitRemoveShippingAddressIdAction without checking for non-null required valuesID of the address to be removed fromshippingAddressIds
.Key of the address to be removed fromshippingAddressIds
.of()
factory method for an instance of BusinessUnitRemoveShippingAddressIdActionBuilderof
(BusinessUnitRemoveShippingAddressIdAction template) create builder for BusinessUnitRemoveShippingAddressIdAction instance
-
Constructor Details
-
BusinessUnitRemoveShippingAddressIdActionBuilder
public BusinessUnitRemoveShippingAddressIdActionBuilder()
-
-
Method Details
-
addressId
ID of the address to be removed from
shippingAddressIds
. EitheraddressId
oraddressKey
is required.- Parameters:
addressId
- value to be set- Returns:
- Builder
-
addressKey
Key of the address to be removed from
shippingAddressIds
. EitheraddressId
oraddressKey
is required.- Parameters:
addressKey
- value to be set- Returns:
- Builder
-
getAddressId
ID of the address to be removed from
shippingAddressIds
. EitheraddressId
oraddressKey
is required.- Returns:
- addressId
-
getAddressKey
Key of the address to be removed from
shippingAddressIds
. EitheraddressId
oraddressKey
is required.- Returns:
- addressKey
-
build
builds BusinessUnitRemoveShippingAddressIdAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<BusinessUnitRemoveShippingAddressIdAction>
- Returns:
- BusinessUnitRemoveShippingAddressIdAction
-
buildUnchecked
builds BusinessUnitRemoveShippingAddressIdAction without checking for non-null required values- Returns:
- BusinessUnitRemoveShippingAddressIdAction
-
of
factory method for an instance of BusinessUnitRemoveShippingAddressIdActionBuilder- Returns:
- builder
-
of
public static BusinessUnitRemoveShippingAddressIdActionBuilder of(BusinessUnitRemoveShippingAddressIdAction template) create builder for BusinessUnitRemoveShippingAddressIdAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-