Interface OrderKeyReference
- All Superinterfaces:
KeyReference
References an order by key.
Example to create an instance using the builder pattern
OrderKeyReference orderKeyReference = OrderKeyReference.builder()
.key("{key}")
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OrderKeyReferenceBuilder
builder()
builder factory method for OrderKeyReferencestatic OrderKeyReferenceBuilder
builder
(OrderKeyReference template) create builder for OrderKeyReference instancestatic OrderKeyReference
deepCopy
(OrderKeyReference template) factory method to create a deep copy of OrderKeyReferencestatic OrderKeyReference
of()
factory methodstatic OrderKeyReference
of
(OrderKeyReference template) factory method to create a shallow copy OrderKeyReferencestatic com.fasterxml.jackson.core.type.TypeReference<OrderKeyReference>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withOrderKeyReference
(Function<OrderKeyReference, T> helper) accessor map functionMethods inherited from interface com.commercetools.importapi.models.common.KeyReference
getKey, getTypeId, setKey, withKeyReference
-
Field Details
-
ORDER
discriminator value for OrderKeyReference- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of OrderKeyReference
-
of
factory method to create a shallow copy OrderKeyReference- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of OrderKeyReference- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderKeyReference- Returns:
- builder
-
builder
create builder for OrderKeyReference instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderKeyReference
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
-