Interface ShoppingListSetStoreAction
- All Superinterfaces:
ResourceUpdateAction<ShoppingListUpdateAction>
,ShoppingListUpdateAction
ShoppingListSetStoreAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ShoppingListSetStoreAction shoppingListSetStoreAction = ShoppingListSetStoreAction.builder()
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ShoppingListSetStoreActionbuilder
(ShoppingListSetStoreAction template) create builder for ShoppingListSetStoreAction instancestatic ShoppingListSetStoreAction
deepCopy
(ShoppingListSetStoreAction template) factory method to create a deep copy of ShoppingListSetStoreAction@Valid StoreResourceIdentifier
getStore()
The Store the ShoppingList should be assigned to.static ShoppingListSetStoreAction
of()
factory methodstatic ShoppingListSetStoreAction
of
(ShoppingListSetStoreAction template) factory method to create a shallow copy ShoppingListSetStoreActionvoid
setStore
(StoreResourceIdentifier store) The Store the ShoppingList should be assigned to.static com.fasterxml.jackson.core.type.TypeReference<ShoppingListSetStoreAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.shopping_list.ShoppingListUpdateAction
getAction, withShoppingListUpdateAction
-
Field Details
-
SET_STORE
discriminator value for ShoppingListSetStoreAction- See Also:
-
-
Method Details
-
getStore
The Store the ShoppingList should be assigned to. If empty, any existing value will be removed.
- Returns:
- store
-
setStore
The Store the ShoppingList should be assigned to. If empty, any existing value will be removed.
- Parameters:
store
- value to be set
-
of
factory method- Returns:
- instance of ShoppingListSetStoreAction
-
of
factory method to create a shallow copy ShoppingListSetStoreAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ShoppingListSetStoreAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ShoppingListSetStoreAction- Returns:
- builder
-
builder
create builder for ShoppingListSetStoreAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withShoppingListSetStoreAction
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
-