Interface ProductSelectionSetting


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

     ProductSelectionSetting productSelectionSetting = ProductSelectionSetting.builder()
             .productSelection(productSelectionBuilder -> productSelectionBuilder)
             .active(true)
             .build()
 
  • Method Details

    • getProductSelection

      @NotNull @Valid @NotNull @Valid Reference getProductSelection()
      Returns:
      productSelection
    • getActive

      @NotNull @NotNull Boolean getActive()
      Returns:
      active
    • setProductSelection

      void setProductSelection(Reference productSelection)
      set productSelection
      Parameters:
      productSelection - value to be set
    • setActive

      void setActive(Boolean active)
      set active
      Parameters:
      active - value to be set
    • of

      factory method
      Returns:
      instance of ProductSelectionSetting
    • of

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

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

      builder factory method for ProductSelectionSetting
      Returns:
      builder
    • builder

      create builder for ProductSelectionSetting instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withProductSelectionSetting

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