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