Interface QuoteRequestLabel

All Superinterfaces:
Label

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

     QuoteRequestLabel quoteRequestLabel = QuoteRequestLabel.builder()
             .key("{key}")
             .customer(customerBuilder -> customerBuilder)
             .build()
 
  • Field Details

    • QUOTE_REQUEST_LABEL

      static final String QUOTE_REQUEST_LABEL
      discriminator value for QuoteRequestLabel
      See Also:
  • 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 Quote Request.

      Returns:
      key
    • getCustomer

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

      The Buyer who raised the Quote Request.

      Returns:
      customer
    • setKey

      void setKey(String key)

      User-defined unique identifier of the Quote Request.

      Parameters:
      key - value to be set
    • setCustomer

      void setCustomer(Reference customer)

      The Buyer who raised the Quote Request.

      Parameters:
      customer - value to be set
    • of

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

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

      static QuoteRequestLabelBuilder builder()
      builder factory method for QuoteRequestLabel
      Returns:
      builder
    • builder

      static QuoteRequestLabelBuilder builder(QuoteRequestLabel template)
      create builder for QuoteRequestLabel instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withQuoteRequestLabel

      default <T> T withQuoteRequestLabel(Function<QuoteRequestLabel,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<QuoteRequestLabel> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference