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