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