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