Class CustomerAddBillingAddressIdActionBuilder
java.lang.Object
com.commercetools.api.models.customer.CustomerAddBillingAddressIdActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<CustomerAddBillingAddressIdAction>
public class CustomerAddBillingAddressIdActionBuilder
extends Object
implements io.vrap.rmf.base.client.Builder<CustomerAddBillingAddressIdAction>
CustomerAddBillingAddressIdActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerAddBillingAddressIdAction customerAddBillingAddressIdAction = CustomerAddBillingAddressIdAction.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 CustomerAddBillingAddressIdAction with checking for non-null required valuesbuilds CustomerAddBillingAddressIdAction 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 CustomerAddBillingAddressIdActionBuilderof
(CustomerAddBillingAddressIdAction template) create builder for CustomerAddBillingAddressIdAction instance
-
Constructor Details
-
CustomerAddBillingAddressIdActionBuilder
public CustomerAddBillingAddressIdActionBuilder()
-
-
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 CustomerAddBillingAddressIdAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<CustomerAddBillingAddressIdAction>
- Returns:
- CustomerAddBillingAddressIdAction
-
buildUnchecked
builds CustomerAddBillingAddressIdAction without checking for non-null required values- Returns:
- CustomerAddBillingAddressIdAction
-
of
factory method for an instance of CustomerAddBillingAddressIdActionBuilder- Returns:
- builder
-
of
public static CustomerAddBillingAddressIdActionBuilder of(CustomerAddBillingAddressIdAction template) create builder for CustomerAddBillingAddressIdAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-