Interface OrderEditReference
- All Superinterfaces:
Identifiable<OrderEdit>,IdentifiableObjHolder<OrderEdit>,Reference,ReferenceMixin
public interface OrderEditReference
extends Reference, Identifiable<OrderEdit>, IdentifiableObjHolder<OrderEdit>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic OrderEditReferenceBuilderbuilder()builder factory method for OrderEditReferencestatic OrderEditReferenceBuilderbuilder(OrderEditReference template) create builder for OrderEditReference instancecopyDeep()static OrderEditReferencedeepCopy(OrderEditReference template) factory method to create a deep copy of OrderEditReference@NotNull StringgetId()Unique identifier of the referenced OrderEdit.@Valid OrderEditgetObj()Contains the representation of the expanded Order Edit.static OrderEditReferenceof()factory methodstatic OrderEditReferenceof(OrderEditReference template) factory method to create a shallow copy OrderEditReferencevoidUnique identifier of the referenced OrderEdit.voidContains the representation of the expanded Order Edit.static com.fasterxml.jackson.core.type.TypeReference<OrderEditReference>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithOrderEditReference(Function<OrderEditReference, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.common.Reference
getTypeId, withReferenceMethods inherited from interface com.commercetools.api.models.common.ReferenceMixin
toResourceIdentifier
-
Field Details
-
ORDER_EDIT
discriminator value for OrderEditReference- See Also:
-
-
Method Details
-
getObj
Contains the representation of the expanded Order Edit. Only present in responses to requests with Reference Expansion for Order Edits.
- Specified by:
getObjin interfaceIdentifiableObjHolder<OrderEdit>- Returns:
- obj
-
getId
Unique identifier of the referenced OrderEdit.
- Specified by:
getIdin interfaceIdentifiable<OrderEdit>- Specified by:
getIdin interfaceReference- Specified by:
getIdin interfaceReferenceMixin- Returns:
- id
-
setObj
Contains the representation of the expanded Order Edit. Only present in responses to requests with Reference Expansion for Order Edits.
- Parameters:
obj- value to be set
-
setId
Unique identifier of the referenced OrderEdit.
-
of
factory method- Returns:
- instance of OrderEditReference
-
of
factory method to create a shallow copy OrderEditReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
OrderEditReference copyDeep() -
deepCopy
factory method to create a deep copy of OrderEditReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderEditReference- Returns:
- builder
-
builder
create builder for OrderEditReference instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withOrderEditReference
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
-