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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for QuoteRequestReference -
Method Summary
Modifier and TypeMethodDescriptionstatic QuoteRequestReferenceBuilderbuilder()builder factory method for QuoteRequestReferencestatic QuoteRequestReferenceBuilderbuilder(QuoteRequestReference template) create builder for QuoteRequestReference instancecopyDeep()static QuoteRequestReferencedeepCopy(QuoteRequestReference template) factory method to create a deep copy of QuoteRequestReference@Valid QuoteRequestgetObj()Contains the representation of the expanded QuoteRequest.static QuoteRequestReferenceof()factory methodstatic QuoteRequestReferenceof(QuoteRequestReference template) factory method to create a shallow copy QuoteRequestReferencevoidsetObj(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> Taccessor 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_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:
getObjin 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
-
copyDeep
QuoteRequestReference copyDeep() -
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
-