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 String
discriminator value for StagedQuoteReference -
Method Summary
Modifier and TypeMethodDescriptionstatic StagedQuoteReferenceBuilder
builder()
builder factory method for StagedQuoteReferencestatic StagedQuoteReferenceBuilder
builder
(StagedQuoteReference template) create builder for StagedQuoteReference instancestatic StagedQuoteReference
deepCopy
(StagedQuoteReference template) factory method to create a deep copy of StagedQuoteReference@Valid StagedQuote
getObj()
Contains the representation of the expanded StagedQuote.static StagedQuoteReference
of()
factory methodstatic StagedQuoteReference
of
(StagedQuoteReference template) factory method to create a shallow copy StagedQuoteReferencevoid
setObj
(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> T
withStagedQuoteReference
(Function<StagedQuoteReference, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.Identifiable
getId
Methods inherited from interface com.commercetools.api.models.common.Reference
getId, getTypeId, setId, withReference
Methods 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:
getObj
in 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
-
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
-