Interface MyShoppingListSetTextLineItemCustomTypeAction

All Superinterfaces:
MyShoppingListUpdateAction, ResourceUpdateAction<MyShoppingListUpdateAction>

public interface MyShoppingListSetTextLineItemCustomTypeAction extends MyShoppingListUpdateAction
MyShoppingListSetTextLineItemCustomTypeAction
Example to create an instance using the builder pattern

     MyShoppingListSetTextLineItemCustomTypeAction myShoppingListSetTextLineItemCustomTypeAction = MyShoppingListSetTextLineItemCustomTypeAction.builder()
             .build()
 
  • Field Details

    • SET_TEXT_LINE_ITEM_CUSTOM_TYPE

      static final String SET_TEXT_LINE_ITEM_CUSTOM_TYPE
      discriminator value for MyShoppingListSetTextLineItemCustomTypeAction
      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
    • getType

      @Valid @Valid TypeResourceIdentifier getType()

      Defines the Type that extends the TextLineItem with Custom Fields. If absent, any existing Type and Custom Fields are removed from the TextLineItem.

      Returns:
      type
    • getFields

      @Valid @Valid FieldContainer getFields()

      Sets the Custom Fields fields for the TextLineItem.

      Returns:
      fields
    • 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
    • setType

      void setType(TypeResourceIdentifier type)

      Defines the Type that extends the TextLineItem with Custom Fields. If absent, any existing Type and Custom Fields are removed from the TextLineItem.

      Parameters:
      type - value to be set
    • setFields

      void setFields(FieldContainer fields)

      Sets the Custom Fields fields for the TextLineItem.

      Parameters:
      fields - value to be set
    • of

      factory method
      Returns:
      instance of MyShoppingListSetTextLineItemCustomTypeAction
    • of

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

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

      builder factory method for MyShoppingListSetTextLineItemCustomTypeAction
      Returns:
      builder
    • builder

      create builder for MyShoppingListSetTextLineItemCustomTypeAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withMyShoppingListSetTextLineItemCustomTypeAction

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