Class CustomerAddShippingAddressIdActionBuilder
java.lang.Object
com.commercetools.api.models.customer.CustomerAddShippingAddressIdActionBuilder
- All Implemented Interfaces:
Builder<CustomerAddShippingAddressIdAction>
public class CustomerAddShippingAddressIdActionBuilder
extends Object
implements Builder<CustomerAddShippingAddressIdAction>
CustomerAddShippingAddressIdActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerAddShippingAddressIdAction customerAddShippingAddressIdAction = CustomerAddShippingAddressIdAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionidof the Address to become a shipping address.addressKey(String addressKey) keyof the Address to become a shipping address.build()builds CustomerAddShippingAddressIdAction with checking for non-null required valuesbuilds CustomerAddShippingAddressIdAction without checking for non-null required valuesidof the Address to become a shipping address.keyof the Address to become a shipping address.of()factory method for an instance of CustomerAddShippingAddressIdActionBuilderof(CustomerAddShippingAddressIdAction template) create builder for CustomerAddShippingAddressIdAction instance
-
Constructor Details
-
CustomerAddShippingAddressIdActionBuilder
public CustomerAddShippingAddressIdActionBuilder()
-
-
Method Details
-
addressId
idof the Address to become a shipping address.- Parameters:
addressId- value to be set- Returns:
- Builder
-
addressKey
keyof the Address to become a shipping address.- Parameters:
addressKey- value to be set- Returns:
- Builder
-
getAddressId
idof the Address to become a shipping address.- Returns:
- addressId
-
getAddressKey
keyof the Address to become a shipping address.- Returns:
- addressKey
-
build
builds CustomerAddShippingAddressIdAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<CustomerAddShippingAddressIdAction>- Returns:
- CustomerAddShippingAddressIdAction
-
buildUnchecked
builds CustomerAddShippingAddressIdAction without checking for non-null required values- Returns:
- CustomerAddShippingAddressIdAction
-
of
factory method for an instance of CustomerAddShippingAddressIdActionBuilder- Returns:
- builder
-
of
public static CustomerAddShippingAddressIdActionBuilder of(CustomerAddShippingAddressIdAction template) create builder for CustomerAddShippingAddressIdAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-