Interface StagedQuoteLabel

All Superinterfaces:
Label

public interface StagedQuoteLabel extends Label
StagedQuoteLabel
Example to create an instance using the builder pattern

     StagedQuoteLabel stagedQuoteLabel = StagedQuoteLabel.builder()
             .key("{key}")
             .customer(customerBuilder -> customerBuilder)
             .quoteRequest(quoteRequestBuilder -> quoteRequestBuilder)
             .build()
 
  • Field Details

  • Method Details

    • getType

      @NotNull @NotNull String getType()
      Specified by:
      getType in interface Label
      Returns:
      type
    • getKey

      @NotNull @NotNull String getKey()

      User-defined unique identifier of the Staged Quote.

      Returns:
      key
    • getCustomer

      @NotNull @Valid @NotNull @Valid Reference getCustomer()

      The Buyer who requested the Quote.

      Returns:
      customer
    • getQuoteRequest

      @NotNull @Valid @NotNull @Valid Reference getQuoteRequest()

      Quote Request related to the Staged Quote.

      Returns:
      quoteRequest
    • setKey

      void setKey(String key)

      User-defined unique identifier of the Staged Quote.

      Parameters:
      key - value to be set
    • setCustomer

      void setCustomer(Reference customer)

      The Buyer who requested the Quote.

      Parameters:
      customer - value to be set
    • setQuoteRequest

      void setQuoteRequest(Reference quoteRequest)

      Quote Request related to the Staged Quote.

      Parameters:
      quoteRequest - value to be set
    • of

      static StagedQuoteLabel of()
      factory method
      Returns:
      instance of StagedQuoteLabel
    • of

      static StagedQuoteLabel of(StagedQuoteLabel template)
      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

      static StagedQuoteLabelBuilder builder()
      builder factory method for StagedQuoteLabel
      Returns:
      builder
    • builder

      static StagedQuoteLabelBuilder builder(StagedQuoteLabel template)
      create builder for StagedQuoteLabel instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withStagedQuoteLabel

      default <T> T withStagedQuoteLabel(Function<StagedQuoteLabel,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<StagedQuoteLabel> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference