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
-
Method Summary
Modifier and TypeMethodDescriptionstatic QuoteRequestLabelBuilder
builder()
builder factory method for QuoteRequestLabelstatic QuoteRequestLabelBuilder
builder
(QuoteRequestLabel template) create builder for QuoteRequestLabel instancestatic QuoteRequestLabel
deepCopy
(QuoteRequestLabel template) factory method to create a deep copy of QuoteRequestLabel@NotNull @Valid Reference
The Buyer who raised the Quote Request.@NotNull String
getKey()
User-defined unique identifier of the Quote Request.@NotNull String
getType()
static QuoteRequestLabel
of()
factory methodstatic QuoteRequestLabel
of
(QuoteRequestLabel template) factory method to create a shallow copy QuoteRequestLabelvoid
setCustomer
(Reference customer) The Buyer who raised the Quote Request.void
User-defined unique identifier of the Quote Request.static com.fasterxml.jackson.core.type.TypeReference<QuoteRequestLabel>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withQuoteRequestLabel
(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
-
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
-