Interface StagedQuoteReference
- All Superinterfaces:
Identifiable<StagedQuote>,IdentifiableObjHolder<StagedQuote>,Reference,ReferenceMixin
public interface StagedQuoteReference
extends Reference, Identifiable<StagedQuote>, IdentifiableObjHolder<StagedQuote>
Reference to a StagedQuote.
Example to create an instance using the builder pattern
StagedQuoteReference stagedQuoteReference = StagedQuoteReference.builder()
.id("{id}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StagedQuoteReference -
Method Summary
Modifier and TypeMethodDescriptionstatic StagedQuoteReferenceBuilderbuilder()builder factory method for StagedQuoteReferencestatic StagedQuoteReferenceBuilderbuilder(StagedQuoteReference template) create builder for StagedQuoteReference instancecopyDeep()static StagedQuoteReferencedeepCopy(StagedQuoteReference template) factory method to create a deep copy of StagedQuoteReference@Valid StagedQuotegetObj()Contains the representation of the expanded StagedQuote.static StagedQuoteReferenceof()factory methodstatic StagedQuoteReferenceof(StagedQuoteReference template) factory method to create a shallow copy StagedQuoteReferencevoidsetObj(StagedQuote obj) Contains the representation of the expanded StagedQuote.static com.fasterxml.jackson.core.type.TypeReference<StagedQuoteReference>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithStagedQuoteReference(Function<StagedQuoteReference, 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
-
STAGED_QUOTE
discriminator value for StagedQuoteReference- See Also:
-
-
Method Details
-
getObj
Contains the representation of the expanded StagedQuote. Only present in responses to requests with Reference Expansion for StagedQuote.
- Specified by:
getObjin interfaceIdentifiableObjHolder<StagedQuote>- Returns:
- obj
-
setObj
Contains the representation of the expanded StagedQuote. Only present in responses to requests with Reference Expansion for StagedQuote.
- Parameters:
obj- value to be set
-
of
factory method- Returns:
- instance of StagedQuoteReference
-
of
factory method to create a shallow copy StagedQuoteReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
StagedQuoteReference copyDeep() -
deepCopy
factory method to create a deep copy of StagedQuoteReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StagedQuoteReference- Returns:
- builder
-
builder
create builder for StagedQuoteReference instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withStagedQuoteReference
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
-