Interface ShoppingListUpdateAction
- All Superinterfaces:
ResourceUpdateAction<ShoppingListUpdateAction>
- All Known Subinterfaces:
ShoppingListAddLineItemAction
,ShoppingListAddTextLineItemAction
,ShoppingListChangeLineItemQuantityAction
,ShoppingListChangeLineItemsOrderAction
,ShoppingListChangeNameAction
,ShoppingListChangeTextLineItemNameAction
,ShoppingListChangeTextLineItemQuantityAction
,ShoppingListChangeTextLineItemsOrderAction
,ShoppingListRemoveLineItemAction
,ShoppingListRemoveTextLineItemAction
,ShoppingListSetAnonymousIdAction
,ShoppingListSetCustomerAction
,ShoppingListSetCustomFieldAction
,ShoppingListSetCustomTypeAction
,ShoppingListSetDeleteDaysAfterLastModificationAction
,ShoppingListSetDescriptionAction
,ShoppingListSetKeyAction
,ShoppingListSetLineItemCustomFieldAction
,ShoppingListSetLineItemCustomTypeAction
,ShoppingListSetSlugAction
,ShoppingListSetStoreAction
,ShoppingListSetTextLineItemCustomFieldAction
,ShoppingListSetTextLineItemCustomTypeAction
,ShoppingListSetTextLineItemDescriptionAction
ShoppingListUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
ShoppingListUpdateAction shoppingListUpdateAction = ShoppingListUpdateAction.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 ShoppingListUpdateAction
deepCopy
(ShoppingListUpdateAction template) factory method to create a deep copy of ShoppingListUpdateAction@NotNull String
builder for removeLineItem subtypebuilder for removeTextLineItem subtypebuilder for setAnonymousId subtypebuilder for setCustomer subtypebuilder for setCustomField subtypebuilder for setCustomType subtypebuilder for setDeleteDaysAfterLastModification subtypebuilder for setDescription subtypebuilder for setKey subtypebuilder for setLineItemCustomField subtypebuilder for setLineItemCustomType subtypebuilder for setSlug subtypebuilder for setStore subtypebuilder for setTextLineItemCustomField subtypebuilder for setTextLineItemCustomType subtypebuilder for setTextLineItemDescription subtypestatic com.fasterxml.jackson.core.type.TypeReference<ShoppingListUpdateAction>
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<ShoppingListUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of ShoppingListUpdateAction- 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
-
setAnonymousIdBuilder
builder for setAnonymousId subtype- Returns:
- builder
-
setCustomFieldBuilder
builder for setCustomField subtype- Returns:
- builder
-
setCustomTypeBuilder
builder for setCustomType subtype- Returns:
- builder
-
setCustomerBuilder
builder for setCustomer subtype- Returns:
- builder
-
setDeleteDaysAfterLastModificationBuilder
static ShoppingListSetDeleteDaysAfterLastModificationActionBuilder setDeleteDaysAfterLastModificationBuilder()builder for setDeleteDaysAfterLastModification subtype- Returns:
- builder
-
setDescriptionBuilder
builder for setDescription subtype- Returns:
- builder
-
setKeyBuilder
builder for setKey subtype- Returns:
- builder
-
setLineItemCustomFieldBuilder
builder for setLineItemCustomField subtype- Returns:
- builder
-
setLineItemCustomTypeBuilder
builder for setLineItemCustomType subtype- Returns:
- builder
-
setSlugBuilder
builder for setSlug subtype- Returns:
- builder
-
setStoreBuilder
builder for setStore subtype- Returns:
- builder
-
setTextLineItemCustomFieldBuilder
builder for setTextLineItemCustomField subtype- Returns:
- builder
-
setTextLineItemCustomTypeBuilder
builder for setTextLineItemCustomType subtype- Returns:
- builder
-
setTextLineItemDescriptionBuilder
builder for setTextLineItemDescription subtype- Returns:
- builder
-
withShoppingListUpdateAction
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
-