Interface StoreReference
- All Superinterfaces:
Identifiable<Store>,IdentifiableObjHolder<Store>,Reference,ReferenceMixin
public interface StoreReference
extends Reference, Identifiable<Store>, IdentifiableObjHolder<Store>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StoreReferenceBuilderbuilder()builder factory method for StoreReferencestatic StoreReferenceBuilderbuilder(StoreReference template) create builder for StoreReference instancecopyDeep()static StoreReferencedeepCopy(StoreReference template) factory method to create a deep copy of StoreReference@NotNull StringgetId()Unique ID of the referenced Store.@Valid StoregetObj()Contains the representation of the expanded Store.static StoreReferenceof()factory methodstatic StoreReferenceof(StoreReference template) factory method to create a shallow copy StoreReferencevoidUnique ID of the referenced Store.voidContains the representation of the expanded Store.static com.fasterxml.jackson.core.type.TypeReference<StoreReference>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithStoreReference(Function<StoreReference, 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
-
STORE
discriminator value for StoreReference- See Also:
-
-
Method Details
-
getObj
Contains the representation of the expanded Store. Only present in responses to requests with Reference Expansion for Stores.
- Specified by:
getObjin interfaceIdentifiableObjHolder<Store>- Returns:
- obj
-
getId
Unique ID of the referenced Store.
- Specified by:
getIdin interfaceIdentifiable<Store>- Specified by:
getIdin interfaceReference- Specified by:
getIdin interfaceReferenceMixin- Returns:
- id
-
setObj
Contains the representation of the expanded Store. Only present in responses to requests with Reference Expansion for Stores.
- Parameters:
obj- value to be set
-
setId
Unique ID of the referenced Store.
-
of
factory method- Returns:
- instance of StoreReference
-
of
factory method to create a shallow copy StoreReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
StoreReference copyDeep() -
deepCopy
factory method to create a deep copy of StoreReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StoreReference- Returns:
- builder
-
builder
create builder for StoreReference instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withStoreReference
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
-