Interface ProjectChangeShoppingListsConfigurationAction
- All Superinterfaces:
ProjectUpdateAction
,ResourceUpdateAction<ProjectUpdateAction>
ProjectChangeShoppingListsConfigurationAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectChangeShoppingListsConfigurationAction projectChangeShoppingListsConfigurationAction = ProjectChangeShoppingListsConfigurationAction.builder()
.shoppingListsConfiguration(shoppingListsConfigurationBuilder -> shoppingListsConfigurationBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProjectChangeShoppingListsConfigurationAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProjectChangeShoppingListsConfigurationActioncreate builder for ProjectChangeShoppingListsConfigurationAction instancefactory method to create a deep copy of ProjectChangeShoppingListsConfigurationAction@NotNull @Valid ShoppingListsConfiguration
Configuration for the Shopping Lists feature.of()
factory methodfactory method to create a shallow copy ProjectChangeShoppingListsConfigurationActionvoid
setShoppingListsConfiguration
(ShoppingListsConfiguration shoppingListsConfiguration) Configuration for the Shopping Lists feature.static com.fasterxml.jackson.core.type.TypeReference<ProjectChangeShoppingListsConfigurationAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withProjectChangeShoppingListsConfigurationAction
(Function<ProjectChangeShoppingListsConfigurationAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.project.ProjectUpdateAction
getAction, withProjectUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_SHOPPING_LISTS_CONFIGURATION
discriminator value for ProjectChangeShoppingListsConfigurationAction- See Also:
-
-
Method Details
-
getShoppingListsConfiguration
Configuration for the Shopping Lists feature.
- Returns:
- shoppingListsConfiguration
-
setShoppingListsConfiguration
Configuration for the Shopping Lists feature.
- Parameters:
shoppingListsConfiguration
- value to be set
-
of
factory method- Returns:
- instance of ProjectChangeShoppingListsConfigurationAction
-
of
static ProjectChangeShoppingListsConfigurationAction of(ProjectChangeShoppingListsConfigurationAction template) factory method to create a shallow copy ProjectChangeShoppingListsConfigurationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProjectChangeShoppingListsConfigurationAction deepCopy(@Nullable ProjectChangeShoppingListsConfigurationAction template) factory method to create a deep copy of ProjectChangeShoppingListsConfigurationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProjectChangeShoppingListsConfigurationAction- Returns:
- builder
-
builder
static ProjectChangeShoppingListsConfigurationActionBuilder builder(ProjectChangeShoppingListsConfigurationAction template) create builder for ProjectChangeShoppingListsConfigurationAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProjectChangeShoppingListsConfigurationAction
default <T> T withProjectChangeShoppingListsConfigurationAction(Function<ProjectChangeShoppingListsConfigurationAction, 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<ProjectChangeShoppingListsConfigurationAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-