Interface OrderEditResourceIdentifier
- All Superinterfaces:
Identifiable<OrderEdit>
,ResourceIdentifier
,WithKey
- All Known Implementing Classes:
OrderEditResourceIdentifierImpl
ResourceIdentifier to an OrderEdit. Either id
or key
is required.
Example to create an instance using the builder pattern
OrderEditResourceIdentifier orderEditResourceIdentifier = OrderEditResourceIdentifier.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for OrderEditResourceIdentifier -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderEditResourceIdentifierbuilder
(OrderEditResourceIdentifier template) create builder for OrderEditResourceIdentifier instancestatic OrderEditResourceIdentifier
deepCopy
(OrderEditResourceIdentifier template) factory method to create a deep copy of OrderEditResourceIdentifiergetId()
Unique identifier of the referenced OrderEdit.getKey()
User-defined unique identifier of the referenced OrderEdit.static OrderEditResourceIdentifier
of()
factory methodstatic OrderEditResourceIdentifier
of
(OrderEditResourceIdentifier template) factory method to create a shallow copy OrderEditResourceIdentifiervoid
Unique identifier of the referenced OrderEdit.void
User-defined unique identifier of the referenced OrderEdit.static com.fasterxml.jackson.core.type.TypeReference<OrderEditResourceIdentifier>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.common.ResourceIdentifier
getTypeId, withResourceIdentifier
-
Field Details
-
ORDER_EDIT
discriminator value for OrderEditResourceIdentifier- See Also:
-
-
Method Details
-
getId
String getId()Unique identifier of the referenced OrderEdit.
- Specified by:
getId
in interfaceIdentifiable<OrderEdit>
- Specified by:
getId
in interfaceResourceIdentifier
- Returns:
- id
-
getKey
String getKey()User-defined unique identifier of the referenced OrderEdit.
- Specified by:
getKey
in interfaceResourceIdentifier
- Specified by:
getKey
in interfaceWithKey
- Returns:
- key
-
setId
Unique identifier of the referenced OrderEdit.
- Specified by:
setId
in interfaceResourceIdentifier
- Parameters:
id
- value to be set
-
setKey
User-defined unique identifier of the referenced OrderEdit.
- Specified by:
setKey
in interfaceResourceIdentifier
- Parameters:
key
- value to be set
-
of
factory method- Returns:
- instance of OrderEditResourceIdentifier
-
of
factory method to create a shallow copy OrderEditResourceIdentifier- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static OrderEditResourceIdentifier deepCopy(@Nullable OrderEditResourceIdentifier template) factory method to create a deep copy of OrderEditResourceIdentifier- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderEditResourceIdentifier- Returns:
- builder
-
builder
create builder for OrderEditResourceIdentifier instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderEditResourceIdentifier
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-