Interface ProjectChangeCartsConfigurationAction
- All Superinterfaces:
ProjectUpdateAction
,ResourceUpdateAction<ProjectUpdateAction>
ProjectChangeCartsConfigurationAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectChangeCartsConfigurationAction projectChangeCartsConfigurationAction = ProjectChangeCartsConfigurationAction.builder()
.cartsConfiguration(cartsConfigurationBuilder -> cartsConfigurationBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProjectChangeCartsConfigurationAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProjectChangeCartsConfigurationActionbuilder
(ProjectChangeCartsConfigurationAction template) create builder for ProjectChangeCartsConfigurationAction instancefactory method to create a deep copy of ProjectChangeCartsConfigurationAction@NotNull @Valid CartsConfiguration
Configuration for the Carts feature.of()
factory methodof
(ProjectChangeCartsConfigurationAction template) factory method to create a shallow copy ProjectChangeCartsConfigurationActionvoid
setCartsConfiguration
(CartsConfiguration cartsConfiguration) Configuration for the Carts feature.static com.fasterxml.jackson.core.type.TypeReference<ProjectChangeCartsConfigurationAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
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_CARTS_CONFIGURATION
discriminator value for ProjectChangeCartsConfigurationAction- See Also:
-
-
Method Details
-
getCartsConfiguration
Configuration for the Carts feature.
- Returns:
- cartsConfiguration
-
setCartsConfiguration
Configuration for the Carts feature.
- Parameters:
cartsConfiguration
- value to be set
-
of
factory method- Returns:
- instance of ProjectChangeCartsConfigurationAction
-
of
factory method to create a shallow copy ProjectChangeCartsConfigurationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProjectChangeCartsConfigurationAction deepCopy(@Nullable ProjectChangeCartsConfigurationAction template) factory method to create a deep copy of ProjectChangeCartsConfigurationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProjectChangeCartsConfigurationAction- Returns:
- builder
-
builder
static ProjectChangeCartsConfigurationActionBuilder builder(ProjectChangeCartsConfigurationAction template) create builder for ProjectChangeCartsConfigurationAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProjectChangeCartsConfigurationAction
default <T> T withProjectChangeCartsConfigurationAction(Function<ProjectChangeCartsConfigurationAction, 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<ProjectChangeCartsConfigurationAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-