Class ShippingMethodSetDescriptionActionBuilder
java.lang.Object
com.commercetools.api.models.shipping_method.ShippingMethodSetDescriptionActionBuilder
- All Implemented Interfaces:
Builder<ShippingMethodSetDescriptionAction>
@Deprecated
public class ShippingMethodSetDescriptionActionBuilder
extends Object
implements Builder<ShippingMethodSetDescriptionAction>
Deprecated.
ShippingMethodSetDescriptionActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ShippingMethodSetDescriptionAction shippingMethodSetDescriptionAction = ShippingMethodSetDescriptionAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.builds ShippingMethodSetDescriptionAction with checking for non-null required valuesDeprecated.builds ShippingMethodSetDescriptionAction without checking for non-null required valuesdescription
(String description) Deprecated.Value to set.Deprecated.Value to set.of()
Deprecated.factory method for an instance of ShippingMethodSetDescriptionActionBuilderof
(ShippingMethodSetDescriptionAction template) Deprecated.create builder for ShippingMethodSetDescriptionAction instance
-
Constructor Details
-
ShippingMethodSetDescriptionActionBuilder
public ShippingMethodSetDescriptionActionBuilder()Deprecated.
-
-
Method Details
-
description
Deprecated.Value to set. If empty, any existing value will be removed.
- Parameters:
description
- value to be set- Returns:
- Builder
-
getDescription
Deprecated.Value to set. If empty, any existing value will be removed.
- Returns:
- description
-
build
Deprecated.builds ShippingMethodSetDescriptionAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ShippingMethodSetDescriptionAction>
- Returns:
- ShippingMethodSetDescriptionAction
-
buildUnchecked
Deprecated.builds ShippingMethodSetDescriptionAction without checking for non-null required values- Returns:
- ShippingMethodSetDescriptionAction
-
of
Deprecated.factory method for an instance of ShippingMethodSetDescriptionActionBuilder- Returns:
- builder
-
of
public static ShippingMethodSetDescriptionActionBuilder of(ShippingMethodSetDescriptionAction template) Deprecated.create builder for ShippingMethodSetDescriptionAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-