Package com.commercetools.api.models.me
Class MyCustomerAddBillingAddressIdActionBuilder
java.lang.Object
com.commercetools.api.models.me.MyCustomerAddBillingAddressIdActionBuilder
- All Implemented Interfaces:
Builder<MyCustomerAddBillingAddressIdAction>
public class MyCustomerAddBillingAddressIdActionBuilder
extends Object
implements Builder<MyCustomerAddBillingAddressIdAction>
MyCustomerAddBillingAddressIdActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyCustomerAddBillingAddressIdAction myCustomerAddBillingAddressIdAction = MyCustomerAddBillingAddressIdAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionid
of the Address to become a billing address.addressKey
(String addressKey) key
of the Address to become a billing address.build()
builds MyCustomerAddBillingAddressIdAction with checking for non-null required valuesbuilds MyCustomerAddBillingAddressIdAction without checking for non-null required valuesid
of the Address to become a billing address.key
of the Address to become a billing address.of()
factory method for an instance of MyCustomerAddBillingAddressIdActionBuilderof
(MyCustomerAddBillingAddressIdAction template) create builder for MyCustomerAddBillingAddressIdAction instance
-
Constructor Details
-
MyCustomerAddBillingAddressIdActionBuilder
public MyCustomerAddBillingAddressIdActionBuilder()
-
-
Method Details
-
addressId
id
of the Address to become a billing address.- Parameters:
addressId
- value to be set- Returns:
- Builder
-
addressKey
key
of the Address to become a billing address.- Parameters:
addressKey
- value to be set- Returns:
- Builder
-
getAddressId
id
of the Address to become a billing address.- Returns:
- addressId
-
getAddressKey
key
of the Address to become a billing address.- Returns:
- addressKey
-
build
builds MyCustomerAddBillingAddressIdAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<MyCustomerAddBillingAddressIdAction>
- Returns:
- MyCustomerAddBillingAddressIdAction
-
buildUnchecked
builds MyCustomerAddBillingAddressIdAction without checking for non-null required values- Returns:
- MyCustomerAddBillingAddressIdAction
-
of
factory method for an instance of MyCustomerAddBillingAddressIdActionBuilder- Returns:
- builder
-
of
public static MyCustomerAddBillingAddressIdActionBuilder of(MyCustomerAddBillingAddressIdAction template) create builder for MyCustomerAddBillingAddressIdAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-