Interface OrderEditSetKeyAction

All Superinterfaces:
OrderEditUpdateAction, ResourceUpdateAction<OrderEditUpdateAction>

public interface OrderEditSetKeyAction extends OrderEditUpdateAction
OrderEditSetKeyAction
Example to create an instance using the builder pattern

     OrderEditSetKeyAction orderEditSetKeyAction = OrderEditSetKeyAction.builder()
             .build()
 
  • Field Details

  • Method Details

    • getKey

      String getKey()

      Value to set. If empty, any existing value will be removed.

      Returns:
      key
    • setKey

      void setKey(String key)

      Value to set. If empty, any existing value will be removed.

      Parameters:
      key - value to be set
    • of

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

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

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

      static OrderEditSetKeyActionBuilder builder()
      builder factory method for OrderEditSetKeyAction
      Returns:
      builder
    • builder

      create builder for OrderEditSetKeyAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withOrderEditSetKeyAction

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

      static OrderEditSetKeyAction ofUnset()
    • typeReference

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