Interface StagedQuoteLabel
- All Superinterfaces:
Label
- All Known Implementing Classes:
StagedQuoteLabelImpl
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
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StagedQuoteLabelBuilderbuilder()builder factory method for StagedQuoteLabelstatic StagedQuoteLabelBuilderbuilder(StagedQuoteLabel template) create builder for StagedQuoteLabel instancestatic StagedQuoteLabeldeepCopy(StagedQuoteLabel template) factory method to create a deep copy of StagedQuoteLabel@NotNull @Valid ReferenceThe Buyer who requested the Quote.@NotNull StringgetKey()User-defined unique identifier of the Staged Quote.@NotNull @Valid ReferenceQuote Request related to the Staged Quote.@NotNull StringgetType()static StagedQuoteLabelof()factory methodstatic StagedQuoteLabelof(StagedQuoteLabel template) factory method to create a shallow copy StagedQuoteLabelvoidsetCustomer(Reference customer) The Buyer who requested the Quote.voidUser-defined unique identifier of the Staged Quote.voidsetQuoteRequest(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> TwithStagedQuoteLabel(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
-