Interface QuoteRequestReference
- All Superinterfaces:
Identifiable<QuoteRequest>
,IdentifiableObjHolder<QuoteRequest>
,Reference
,ReferenceMixin
public interface QuoteRequestReference
extends Reference, Identifiable<QuoteRequest>, IdentifiableObjHolder<QuoteRequest>
Reference to a QuoteRequest.
Example to create an instance using the builder pattern
QuoteRequestReference quoteRequestReference = QuoteRequestReference.builder()
.id("{id}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for QuoteRequestReference -
Method Summary
Modifier and TypeMethodDescriptionstatic QuoteRequestReferenceBuilder
builder()
builder factory method for QuoteRequestReferencestatic QuoteRequestReferenceBuilder
builder
(QuoteRequestReference template) create builder for QuoteRequestReference instancestatic QuoteRequestReference
deepCopy
(QuoteRequestReference template) factory method to create a deep copy of QuoteRequestReference@Valid QuoteRequest
getObj()
Contains the representation of the expanded QuoteRequest.static QuoteRequestReference
of()
factory methodstatic QuoteRequestReference
of
(QuoteRequestReference template) factory method to create a shallow copy QuoteRequestReferencevoid
setObj
(QuoteRequest obj) Contains the representation of the expanded QuoteRequest.static com.fasterxml.jackson.core.type.TypeReference<QuoteRequestReference>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
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
-
QUOTE_REQUEST
discriminator value for QuoteRequestReference- See Also:
-
-
Method Details
-
getObj
Contains the representation of the expanded QuoteRequest. Only present in responses to requests with Reference Expansion for QuoteRequest.
- Specified by:
getObj
in interfaceIdentifiableObjHolder<QuoteRequest>
- Returns:
- obj
-
setObj
Contains the representation of the expanded QuoteRequest. Only present in responses to requests with Reference Expansion for QuoteRequest.
- Parameters:
obj
- value to be set
-
of
factory method- Returns:
- instance of QuoteRequestReference
-
of
factory method to create a shallow copy QuoteRequestReference- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of QuoteRequestReference- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for QuoteRequestReference- Returns:
- builder
-
builder
create builder for QuoteRequestReference instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withQuoteRequestReference
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
-