Interface QuoteRequestReference

All Superinterfaces:
Identifiable<QuoteRequest>, IdentifiableObjHolder<QuoteRequest>, Reference, ReferenceMixin

public interface QuoteRequestReference extends Reference, Identifiable<QuoteRequest>, IdentifiableObjHolder<QuoteRequest>

Reference to a QuoteRequest.


Example to create an instance using the builder pattern

     QuoteRequestReference quoteRequestReference = QuoteRequestReference.builder()
             .id("{id}")
             .build()
 
  • Field Details

  • Method Details

    • getObj

      @Valid @Valid QuoteRequest getObj()

      Contains the representation of the expanded QuoteRequest. Only present in responses to requests with Reference Expansion for QuoteRequest.

      Specified by:
      getObj in interface IdentifiableObjHolder<QuoteRequest>
      Returns:
      obj
    • setObj

      void setObj(QuoteRequest obj)

      Contains the representation of the expanded QuoteRequest. Only present in responses to requests with Reference Expansion for QuoteRequest.

      Parameters:
      obj - value to be set
    • of

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

      factory method to create a shallow copy QuoteRequestReference
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of QuoteRequestReference
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static QuoteRequestReferenceBuilder builder()
      builder factory method for QuoteRequestReference
      Returns:
      builder
    • builder

      create builder for QuoteRequestReference instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withQuoteRequestReference

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