Interface QuoteReference
- All Superinterfaces:
Identifiable<Quote>,IdentifiableObjHolder<Quote>,Reference,ReferenceMixin
public interface QuoteReference
extends Reference, Identifiable<Quote>, IdentifiableObjHolder<Quote>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic QuoteReferenceBuilderbuilder()builder factory method for QuoteReferencestatic QuoteReferenceBuilderbuilder(QuoteReference template) create builder for QuoteReference instancecopyDeep()static QuoteReferencedeepCopy(QuoteReference template) factory method to create a deep copy of QuoteReference@Valid QuotegetObj()Contains the representation of the expanded Quote.static QuoteReferenceof()factory methodstatic QuoteReferenceof(QuoteReference template) factory method to create a shallow copy QuoteReferencevoidContains the representation of the expanded Quote.static com.fasterxml.jackson.core.type.TypeReference<QuoteReference>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithQuoteReference(Function<QuoteReference, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.Identifiable
getIdMethods inherited from interface com.commercetools.api.models.common.Reference
getId, getTypeId, setId, withReferenceMethods inherited from interface com.commercetools.api.models.common.ReferenceMixin
toResourceIdentifier
-
Field Details
-
QUOTE
discriminator value for QuoteReference- See Also:
-
-
Method Details
-
getObj
Contains the representation of the expanded Quote. Only present in responses to requests with Reference Expansion for Quote.
- Specified by:
getObjin interfaceIdentifiableObjHolder<Quote>- Returns:
- obj
-
setObj
Contains the representation of the expanded Quote. Only present in responses to requests with Reference Expansion for Quote.
- Parameters:
obj- value to be set
-
of
factory method- Returns:
- instance of QuoteReference
-
of
factory method to create a shallow copy QuoteReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
QuoteReference copyDeep() -
deepCopy
factory method to create a deep copy of QuoteReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for QuoteReference- Returns:
- builder
-
builder
create builder for QuoteReference instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withQuoteReference
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
-