Class OrderResourceIdentifierBuilder
java.lang.Object
com.commercetools.api.models.order.OrderResourceIdentifierBuilder
- All Implemented Interfaces:
Builder<OrderResourceIdentifier>
@Deprecated
public class OrderResourceIdentifierBuilder
extends Object
implements Builder<OrderResourceIdentifier>
Deprecated.
OrderResourceIdentifierBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderResourceIdentifier orderResourceIdentifier = OrderResourceIdentifier.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.builds OrderResourceIdentifier with checking for non-null required valuesDeprecated.builds OrderResourceIdentifier without checking for non-null required valuesgetId()
Deprecated.Unique identifier of the referenced resource.getKey()
Deprecated.User-defined unique identifier of the referenced resource.Deprecated.Unique identifier of the referenced resource.Deprecated.User-defined unique identifier of the referenced resource.of()
Deprecated.factory method for an instance of OrderResourceIdentifierBuilderof
(OrderResourceIdentifier template) Deprecated.create builder for OrderResourceIdentifier instance
-
Constructor Details
-
OrderResourceIdentifierBuilder
public OrderResourceIdentifierBuilder()Deprecated.
-
-
Method Details
-
id
Deprecated.Unique identifier of the referenced resource. Required if
key
is absent.- Parameters:
id
- value to be set- Returns:
- Builder
-
key
Deprecated.User-defined unique identifier of the referenced resource. Required if
id
is absent.- Parameters:
key
- value to be set- Returns:
- Builder
-
getId
Deprecated.Unique identifier of the referenced resource. Required if
key
is absent.- Returns:
- id
-
getKey
Deprecated.User-defined unique identifier of the referenced resource. Required if
id
is absent.- Returns:
- key
-
build
Deprecated.builds OrderResourceIdentifier with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderResourceIdentifier>
- Returns:
- OrderResourceIdentifier
-
buildUnchecked
Deprecated.builds OrderResourceIdentifier without checking for non-null required values- Returns:
- OrderResourceIdentifier
-
of
Deprecated.factory method for an instance of OrderResourceIdentifierBuilder- Returns:
- builder
-
of
Deprecated.create builder for OrderResourceIdentifier instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-