Interface ExtensionReference
- All Superinterfaces:
Reference,ReferenceMixin
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionReferenceBuilderbuilder()builder factory method for ExtensionReferencestatic ExtensionReferenceBuilderbuilder(ExtensionReference template) create builder for ExtensionReference instancecopyDeep()static ExtensionReferencedeepCopy(ExtensionReference template) factory method to create a deep copy of ExtensionReference@NotNull StringgetId()Unique identifier of the referenced Extension.@Valid ExtensiongetObj()Contains the representation of the expanded Extension.@NotNull ReferenceTypeIdType of referenced resource.static ExtensionReferenceof()factory methodstatic ExtensionReferenceof(ExtensionReference template) factory method to create a shallow copy ExtensionReferencevoidUnique identifier of the referenced Extension.voidContains the representation of the expanded Extension.static com.fasterxml.jackson.core.type.TypeReference<ExtensionReference>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithExtensionReference(Function<ExtensionReference, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.common.Reference
withReferenceMethods inherited from interface com.commercetools.api.models.common.ReferenceMixin
toResourceIdentifier
-
Field Details
-
EXTENSION
discriminator value for ExtensionReference- See Also:
-
-
Method Details
-
getTypeId
Description copied from interface:ReferenceType of referenced resource.
- Specified by:
getTypeIdin interfaceReference- Specified by:
getTypeIdin interfaceReferenceMixin- Returns:
- typeId
-
getId
Unique identifier of the referenced Extension.
- Specified by:
getIdin interfaceReference- Specified by:
getIdin interfaceReferenceMixin- Returns:
- id
-
getObj
Contains the representation of the expanded Extension. Only present in responses to requests with Reference Expansion for Extensions.
- Returns:
- obj
-
setId
Unique identifier of the referenced Extension.
-
setObj
Contains the representation of the expanded Extension. Only present in responses to requests with Reference Expansion for Extensions.
- Parameters:
obj- value to be set
-
of
factory method- Returns:
- instance of ExtensionReference
-
of
factory method to create a shallow copy ExtensionReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ExtensionReference copyDeep() -
deepCopy
factory method to create a deep copy of ExtensionReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ExtensionReference- Returns:
- builder
-
builder
create builder for ExtensionReference instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withExtensionReference
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
-