Interface ProductSelectionSetKeyAction

All Superinterfaces:
ProductSelectionUpdateAction, ResourceUpdateAction<ProductSelectionUpdateAction>

public interface ProductSelectionSetKeyAction extends ProductSelectionUpdateAction
ProductSelectionSetKeyAction
Example to create an instance using the builder pattern

     ProductSelectionSetKeyAction productSelectionSetKeyAction = ProductSelectionSetKeyAction.builder()
             .build()
 
  • Field Details

  • Method Details

    • getKey

      String getKey()

      If key is absent or null, the existing key, if any, will be removed.

      Returns:
      key
    • setKey

      void setKey(String key)

      If key is absent or null, the existing key, if any, will be removed.

      Parameters:
      key - value to be set
    • of

      factory method
      Returns:
      instance of ProductSelectionSetKeyAction
    • of

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

      @Nullable static ProductSelectionSetKeyAction deepCopy(@Nullable ProductSelectionSetKeyAction template)
      factory method to create a deep copy of ProductSelectionSetKeyAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for ProductSelectionSetKeyAction
      Returns:
      builder
    • builder

      create builder for ProductSelectionSetKeyAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withProductSelectionSetKeyAction

      default <T> T withProductSelectionSetKeyAction(Function<ProductSelectionSetKeyAction,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • ofUnset

      static ProductSelectionSetKeyAction ofUnset()
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<ProductSelectionSetKeyAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference