Class ShippingMethodChangeNameActionBuilder
java.lang.Object
com.commercetools.api.models.shipping_method.ShippingMethodChangeNameActionBuilder
- All Implemented Interfaces:
Builder<ShippingMethodChangeNameAction>
public class ShippingMethodChangeNameActionBuilder
extends Object
implements Builder<ShippingMethodChangeNameAction>
ShippingMethodChangeNameActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ShippingMethodChangeNameAction shippingMethodChangeNameAction = ShippingMethodChangeNameAction.builder()
.name("{name}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ShippingMethodChangeNameAction with checking for non-null required valuesbuilds ShippingMethodChangeNameAction without checking for non-null required valuesgetName()
Unique value to set within a Project.Unique value to set within a Project.of()
factory method for an instance of ShippingMethodChangeNameActionBuilderof
(ShippingMethodChangeNameAction template) create builder for ShippingMethodChangeNameAction instance
-
Constructor Details
-
ShippingMethodChangeNameActionBuilder
public ShippingMethodChangeNameActionBuilder()
-
-
Method Details
-
name
Unique value to set within a Project. Must not be empty.
- Parameters:
name
- value to be set- Returns:
- Builder
-
getName
Unique value to set within a Project. Must not be empty.
- Returns:
- name
-
build
builds ShippingMethodChangeNameAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ShippingMethodChangeNameAction>
- Returns:
- ShippingMethodChangeNameAction
-
buildUnchecked
builds ShippingMethodChangeNameAction without checking for non-null required values- Returns:
- ShippingMethodChangeNameAction
-
of
factory method for an instance of ShippingMethodChangeNameActionBuilder- Returns:
- builder
-
of
create builder for ShippingMethodChangeNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-