Interface QuoteLabel
- All Superinterfaces:
Label
QuoteLabel
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
QuoteLabel quoteLabel = QuoteLabel.builder()
.key("{key}")
.customer(customerBuilder -> customerBuilder)
.stagedQuote(stagedQuoteBuilder -> stagedQuoteBuilder)
.quoteRequest(quoteRequestBuilder -> quoteRequestBuilder)
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic QuoteLabelBuilder
builder()
builder factory method for QuoteLabelstatic QuoteLabelBuilder
builder
(QuoteLabel template) create builder for QuoteLabel instancestatic QuoteLabel
deepCopy
(QuoteLabel template) factory method to create a deep copy of QuoteLabel@NotNull @Valid Reference
The Buyer who requested the Quote.@NotNull String
getKey()
User-defined unique identifier of the Quote.@NotNull @Valid Reference
Quote Request related to the Quote.@NotNull @Valid Reference
Staged Quote related to the Quote.@NotNull String
getType()
static QuoteLabel
of()
factory methodstatic QuoteLabel
of
(QuoteLabel template) factory method to create a shallow copy QuoteLabelvoid
setCustomer
(Reference customer) The Buyer who requested the Quote.void
User-defined unique identifier of the Quote.void
setQuoteRequest
(Reference quoteRequest) Quote Request related to the Quote.void
setStagedQuote
(Reference stagedQuote) Staged Quote related to the Quote.static com.fasterxml.jackson.core.type.TypeReference<QuoteLabel>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withQuoteLabel
(Function<QuoteLabel, T> helper) accessor map function
-
Field Details
-
QUOTE_LABEL
discriminator value for QuoteLabel- See Also:
-
-
Method Details
-
getType
-
getKey
User-defined unique identifier of the Quote.
- Returns:
- key
-
getCustomer
The Buyer who requested the Quote.
- Returns:
- customer
-
getStagedQuote
Staged Quote related to the Quote.
- Returns:
- stagedQuote
-
getQuoteRequest
Quote Request related to the Quote.
- Returns:
- quoteRequest
-
setKey
User-defined unique identifier of the Quote.
- Parameters:
key
- value to be set
-
setCustomer
The Buyer who requested the Quote.
- Parameters:
customer
- value to be set
-
setStagedQuote
Staged Quote related to the Quote.
- Parameters:
stagedQuote
- value to be set
-
setQuoteRequest
Quote Request related to the Quote.
- Parameters:
quoteRequest
- value to be set
-
of
factory method- Returns:
- instance of QuoteLabel
-
of
factory method to create a shallow copy QuoteLabel- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of QuoteLabel- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for QuoteLabel- Returns:
- builder
-
builder
create builder for QuoteLabel instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withQuoteLabel
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
-