Class CustomShippingMethodChangeValueBuilder
java.lang.Object
com.commercetools.history.models.change_value.CustomShippingMethodChangeValueBuilder
- All Implemented Interfaces:
Builder<CustomShippingMethodChangeValue>
public class CustomShippingMethodChangeValueBuilder
extends Object
implements Builder<CustomShippingMethodChangeValue>
CustomShippingMethodChangeValueBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomShippingMethodChangeValue customShippingMethodChangeValue = CustomShippingMethodChangeValue.builder()
.name("{name}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomShippingMethodChangeValue with checking for non-null required valuesbuilds CustomShippingMethodChangeValue without checking for non-null required valuesgetName()
Name of the Custom ShippingMethod.Name of the Custom ShippingMethod.of()
factory method for an instance of CustomShippingMethodChangeValueBuilderof
(CustomShippingMethodChangeValue template) create builder for CustomShippingMethodChangeValue instance
-
Constructor Details
-
CustomShippingMethodChangeValueBuilder
public CustomShippingMethodChangeValueBuilder()
-
-
Method Details
-
name
Name of the Custom ShippingMethod.
- Parameters:
name
- value to be set- Returns:
- Builder
-
getName
Name of the Custom ShippingMethod.
- Returns:
- name
-
build
builds CustomShippingMethodChangeValue with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomShippingMethodChangeValue>
- Returns:
- CustomShippingMethodChangeValue
-
buildUnchecked
builds CustomShippingMethodChangeValue without checking for non-null required values- Returns:
- CustomShippingMethodChangeValue
-
of
factory method for an instance of CustomShippingMethodChangeValueBuilder- Returns:
- builder
-
of
create builder for CustomShippingMethodChangeValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-