Interface StandalonePriceSetKeyAction

All Superinterfaces:
ResourceUpdateAction<StandalonePriceUpdateAction>, StandalonePriceUpdateAction

public interface StandalonePriceSetKeyAction extends StandalonePriceUpdateAction

Sets the key on a Standalone Price. Produces the StandalonePriceKeySet Message.


Example to create an instance using the builder pattern

     StandalonePriceSetKeyAction standalonePriceSetKeyAction = StandalonePriceSetKeyAction.builder()
             .build()
 
  • Field Details

  • Method Details

    • getKey

      String getKey()

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

      Returns:
      key
    • setKey

      void setKey(String key)

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

      Parameters:
      key - value to be set
    • of

      factory method
      Returns:
      instance of StandalonePriceSetKeyAction
    • of

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

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

      builder factory method for StandalonePriceSetKeyAction
      Returns:
      builder
    • builder

      create builder for StandalonePriceSetKeyAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withStandalonePriceSetKeyAction

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