Interface SearchMatchingVariant


public interface SearchMatchingVariant
SearchMatchingVariant
Example to create an instance using the builder pattern

     SearchMatchingVariant searchMatchingVariant = SearchMatchingVariant.builder()
             .id(0.3)
             .build()
 
  • Method Details

    • getId

      @NotNull @NotNull Integer getId()

      Unique identifier of the variant.

      Returns:
      id
    • getSku

      String getSku()

      SKU of the matching variant.

      Returns:
      sku
    • setId

      void setId(Integer id)

      Unique identifier of the variant.

      Parameters:
      id - value to be set
    • setSku

      void setSku(String sku)

      SKU of the matching variant.

      Parameters:
      sku - value to be set
    • of

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

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

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

      static SearchMatchingVariantBuilder builder()
      builder factory method for SearchMatchingVariant
      Returns:
      builder
    • builder

      create builder for SearchMatchingVariant instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withSearchMatchingVariant

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