Interface ProductTailoringUpdate


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

     ProductTailoringUpdate productTailoringUpdate = ProductTailoringUpdate.builder()
             .version(0.3)
             .plusActions(actionsBuilder -> actionsBuilder)
             .build()
 
  • Method Details

    • getVersion

      @NotNull @NotNull Long getVersion()

      Expected version of the ProductTailoring on which the changes apply. If the expected version does not match the actual version, a 409 Conflict is returned.

      Returns:
      version
    • getActions

      @NotNull @Valid @NotNull @Valid List<ProductTailoringUpdateAction> getActions()

      Update actions to be performed on the ProductTailoring.

      Returns:
      actions
    • setVersion

      void setVersion(Long version)

      Expected version of the ProductTailoring on which the changes apply. If the expected version does not match the actual version, a 409 Conflict is returned.

      Parameters:
      version - value to be set
    • setActions

      void setActions(ProductTailoringUpdateAction... actions)

      Update actions to be performed on the ProductTailoring.

      Parameters:
      actions - values to be set
    • setActions

      void setActions(List<ProductTailoringUpdateAction> actions)

      Update actions to be performed on the ProductTailoring.

      Parameters:
      actions - values to be set
    • of

      factory method
      Returns:
      instance of ProductTailoringUpdate
    • of

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

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

      builder factory method for ProductTailoringUpdate
      Returns:
      builder
    • builder

      create builder for ProductTailoringUpdate instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withProductTailoringUpdate

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