Interface ShoppingListSetTextLineItemDescriptionAction

All Superinterfaces:
ResourceUpdateAction<ShoppingListUpdateAction>, ShoppingListUpdateAction

public interface ShoppingListSetTextLineItemDescriptionAction extends ShoppingListUpdateAction
ShoppingListSetTextLineItemDescriptionAction
Example to create an instance using the builder pattern

     ShoppingListSetTextLineItemDescriptionAction shoppingListSetTextLineItemDescriptionAction = ShoppingListSetTextLineItemDescriptionAction.builder()
             .build()
 
  • Field Details

    • SET_TEXT_LINE_ITEM_DESCRIPTION

      static final String SET_TEXT_LINE_ITEM_DESCRIPTION
      discriminator value for ShoppingListSetTextLineItemDescriptionAction
      See Also:
  • Method Details

    • getTextLineItemId

      String getTextLineItemId()

      The id of the TextLineItem to update. Either lineItemId or lineItemKey is required.

      Returns:
      textLineItemId
    • getTextLineItemKey

      String getTextLineItemKey()

      The key of the TextLineItem to update. Either lineItemId or lineItemKey is required.

      Returns:
      textLineItemKey
    • getDescription

      @Valid @Valid LocalizedString getDescription()

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

      Returns:
      description
    • setTextLineItemId

      void setTextLineItemId(String textLineItemId)

      The id of the TextLineItem to update. Either lineItemId or lineItemKey is required.

      Parameters:
      textLineItemId - value to be set
    • setTextLineItemKey

      void setTextLineItemKey(String textLineItemKey)

      The key of the TextLineItem to update. Either lineItemId or lineItemKey is required.

      Parameters:
      textLineItemKey - value to be set
    • setDescription

      void setDescription(LocalizedString description)

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

      Parameters:
      description - value to be set
    • of

      factory method
      Returns:
      instance of ShoppingListSetTextLineItemDescriptionAction
    • of

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

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

      builder factory method for ShoppingListSetTextLineItemDescriptionAction
      Returns:
      builder
    • builder

      create builder for ShoppingListSetTextLineItemDescriptionAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withShoppingListSetTextLineItemDescriptionAction

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