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