Package com.commercetools.api.models.me
Interface MyShoppingListUpdateAction
- All Superinterfaces:
ResourceUpdateAction<MyShoppingListUpdateAction>
- All Known Subinterfaces:
MyShoppingListAddLineItemAction
,MyShoppingListAddTextLineItemAction
,MyShoppingListChangeLineItemQuantityAction
,MyShoppingListChangeLineItemsOrderAction
,MyShoppingListChangeNameAction
,MyShoppingListChangeTextLineItemNameAction
,MyShoppingListChangeTextLineItemQuantityAction
,MyShoppingListChangeTextLineItemsOrderAction
,MyShoppingListRemoveLineItemAction
,MyShoppingListRemoveTextLineItemAction
,MyShoppingListSetCustomFieldAction
,MyShoppingListSetCustomTypeAction
,MyShoppingListSetDeleteDaysAfterLastModificationAction
,MyShoppingListSetDescriptionAction
,MyShoppingListSetLineItemCustomFieldAction
,MyShoppingListSetLineItemCustomTypeAction
,MyShoppingListSetTextLineItemCustomFieldAction
,MyShoppingListSetTextLineItemCustomTypeAction
,MyShoppingListSetTextLineItemDescriptionAction
public interface MyShoppingListUpdateAction
extends ResourceUpdateAction<MyShoppingListUpdateAction>
MyShoppingListUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
MyShoppingListUpdateAction myShoppingListUpdateAction = MyShoppingListUpdateAction.addLineItemBuilder()
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for addLineItem subtypebuilder for addTextLineItem subtypebuilder for changeLineItemQuantity subtypebuilder for changeLineItemsOrder subtypebuilder for changeName subtypebuilder for changeTextLineItemName subtypebuilder for changeTextLineItemQuantity subtypebuilder for changeTextLineItemsOrder subtypestatic MyShoppingListUpdateAction
deepCopy
(MyShoppingListUpdateAction template) factory method to create a deep copy of MyShoppingListUpdateAction@NotNull String
builder for removeLineItem subtypebuilder for removeTextLineItem subtypebuilder for setCustomField subtypebuilder for setCustomType subtypebuilder for setDeleteDaysAfterLastModification subtypebuilder for setDescription subtypebuilder for setLineItemCustomField subtypebuilder for setLineItemCustomType subtypebuilder for setTextLineItemCustomField subtypebuilder for setTextLineItemCustomType subtypebuilder for setTextLineItemDescription subtypestatic com.fasterxml.jackson.core.type.TypeReference<MyShoppingListUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<MyShoppingListUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of MyShoppingListUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
addLineItemBuilder
builder for addLineItem subtype- Returns:
- builder
-
addTextLineItemBuilder
builder for addTextLineItem subtype- Returns:
- builder
-
changeLineItemQuantityBuilder
builder for changeLineItemQuantity subtype- Returns:
- builder
-
changeLineItemsOrderBuilder
builder for changeLineItemsOrder subtype- Returns:
- builder
-
changeNameBuilder
builder for changeName subtype- Returns:
- builder
-
changeTextLineItemNameBuilder
builder for changeTextLineItemName subtype- Returns:
- builder
-
changeTextLineItemQuantityBuilder
builder for changeTextLineItemQuantity subtype- Returns:
- builder
-
changeTextLineItemsOrderBuilder
builder for changeTextLineItemsOrder subtype- Returns:
- builder
-
removeLineItemBuilder
builder for removeLineItem subtype- Returns:
- builder
-
removeTextLineItemBuilder
builder for removeTextLineItem subtype- Returns:
- builder
-
setCustomFieldBuilder
builder for setCustomField subtype- Returns:
- builder
-
setCustomTypeBuilder
builder for setCustomType subtype- Returns:
- builder
-
setDeleteDaysAfterLastModificationBuilder
static MyShoppingListSetDeleteDaysAfterLastModificationActionBuilder setDeleteDaysAfterLastModificationBuilder()builder for setDeleteDaysAfterLastModification subtype- Returns:
- builder
-
setDescriptionBuilder
builder for setDescription subtype- Returns:
- builder
-
setLineItemCustomFieldBuilder
builder for setLineItemCustomField subtype- Returns:
- builder
-
setLineItemCustomTypeBuilder
builder for setLineItemCustomType subtype- Returns:
- builder
-
setTextLineItemCustomFieldBuilder
builder for setTextLineItemCustomField subtype- Returns:
- builder
-
setTextLineItemCustomTypeBuilder
builder for setTextLineItemCustomType subtype- Returns:
- builder
-
setTextLineItemDescriptionBuilder
builder for setTextLineItemDescription subtype- Returns:
- builder
-
withMyShoppingListUpdateAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-