Package com.commercetools.api.models.me
Class MyCustomerRemoveBillingAddressIdActionBuilder
java.lang.Object
com.commercetools.api.models.me.MyCustomerRemoveBillingAddressIdActionBuilder
- All Implemented Interfaces:
Builder<MyCustomerRemoveBillingAddressIdAction>
public class MyCustomerRemoveBillingAddressIdActionBuilder
extends Object
implements Builder<MyCustomerRemoveBillingAddressIdAction>
MyCustomerRemoveBillingAddressIdActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyCustomerRemoveBillingAddressIdAction myCustomerRemoveBillingAddressIdAction = MyCustomerRemoveBillingAddressIdAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddressKey(String addressKey) build()builds MyCustomerRemoveBillingAddressIdAction with checking for non-null required valuesbuilds MyCustomerRemoveBillingAddressIdAction without checking for non-null required valuesof()factory method for an instance of MyCustomerRemoveBillingAddressIdActionBuilderof(MyCustomerRemoveBillingAddressIdAction template) create builder for MyCustomerRemoveBillingAddressIdAction instance
-
Constructor Details
-
MyCustomerRemoveBillingAddressIdActionBuilder
public MyCustomerRemoveBillingAddressIdActionBuilder()
-
-
Method Details
-
addressId
idof the Address to remove frombillingAddressesIds.- Parameters:
addressId- value to be set- Returns:
- Builder
-
addressKey
keyof the Address to remove frombillingAddressesIds.- Parameters:
addressKey- value to be set- Returns:
- Builder
-
getAddressId
idof the Address to remove frombillingAddressesIds.- Returns:
- addressId
-
getAddressKey
keyof the Address to remove frombillingAddressesIds.- Returns:
- addressKey
-
build
builds MyCustomerRemoveBillingAddressIdAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<MyCustomerRemoveBillingAddressIdAction>- Returns:
- MyCustomerRemoveBillingAddressIdAction
-
buildUnchecked
builds MyCustomerRemoveBillingAddressIdAction without checking for non-null required values- Returns:
- MyCustomerRemoveBillingAddressIdAction
-
of
factory method for an instance of MyCustomerRemoveBillingAddressIdActionBuilder- Returns:
- builder
-
of
public static MyCustomerRemoveBillingAddressIdActionBuilder of(MyCustomerRemoveBillingAddressIdAction template) create builder for MyCustomerRemoveBillingAddressIdAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-