Interface ProductTailoringReference

All Superinterfaces:
Reference, ReferenceMixin

public interface ProductTailoringReference extends Reference

Reference to a ProductTailoring.


Example to create an instance using the builder pattern

     ProductTailoringReference productTailoringReference = ProductTailoringReference.builder()
             .id("{id}")
             .build()
 
  • Field Details

    • PRODUCT_TAILORING

      static final String PRODUCT_TAILORING
      discriminator value for ProductTailoringReference
      See Also:
  • Method Details

    • getId

      @NotNull @NotNull String getId()

      Unique identifier of the referenced ProductTailoring.

      Specified by:
      getId in interface Reference
      Specified by:
      getId in interface ReferenceMixin
      Returns:
      id
    • getObj

      @Valid @Valid ProductTailoring getObj()

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

      Returns:
      obj
    • setId

      void setId(String id)

      Unique identifier of the referenced ProductTailoring.

      Specified by:
      setId in interface Reference
      Parameters:
      id - value to be set
    • setObj

      void setObj(ProductTailoring obj)

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

      Parameters:
      obj - value to be set
    • of

      factory method
      Returns:
      instance of ProductTailoringReference
    • of

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

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

      builder factory method for ProductTailoringReference
      Returns:
      builder
    • builder

      create builder for ProductTailoringReference instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withProductTailoringReference

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