Interface QuoteRequestLabel
- All Superinterfaces:
Label
QuoteRequestLabel
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
QuoteRequestLabel quoteRequestLabel = QuoteRequestLabel.builder()
.key("{key}")
.customer(customerBuilder -> customerBuilder)
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic QuoteRequestLabelBuilderbuilder()builder factory method for QuoteRequestLabelstatic QuoteRequestLabelBuilderbuilder(QuoteRequestLabel template) create builder for QuoteRequestLabel instancecopyDeep()static QuoteRequestLabeldeepCopy(QuoteRequestLabel template) factory method to create a deep copy of QuoteRequestLabel@NotNull @Valid ReferenceThe Buyer who raised the Quote Request.@NotNull StringgetKey()User-defined unique identifier of the Quote Request.@NotNull StringgetType()static QuoteRequestLabelof()factory methodstatic QuoteRequestLabelof(QuoteRequestLabel template) factory method to create a shallow copy QuoteRequestLabelvoidsetCustomer(Reference customer) The Buyer who raised the Quote Request.voidUser-defined unique identifier of the Quote Request.static com.fasterxml.jackson.core.type.TypeReference<QuoteRequestLabel>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithQuoteRequestLabel(Function<QuoteRequestLabel, T> helper) accessor map function
-
Field Details
-
QUOTE_REQUEST_LABEL
discriminator value for QuoteRequestLabel- See Also:
-
-
Method Details
-
getType
-
getKey
User-defined unique identifier of the Quote Request.
- Returns:
- key
-
getCustomer
The Buyer who raised the Quote Request.
- Returns:
- customer
-
setKey
User-defined unique identifier of the Quote Request.
- Parameters:
key- value to be set
-
setCustomer
The Buyer who raised the Quote Request.
- Parameters:
customer- value to be set
-
of
factory method- Returns:
- instance of QuoteRequestLabel
-
of
factory method to create a shallow copy QuoteRequestLabel- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
QuoteRequestLabel copyDeep() -
deepCopy
factory method to create a deep copy of QuoteRequestLabel- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for QuoteRequestLabel- Returns:
- builder
-
builder
create builder for QuoteRequestLabel instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withQuoteRequestLabel
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
-