Interface ProjectChangeOrderSearchStatusAction
- All Superinterfaces:
ProjectUpdateAction
,ResourceUpdateAction<ProjectUpdateAction>
ProjectChangeOrderSearchStatusAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectChangeOrderSearchStatusAction projectChangeOrderSearchStatusAction = ProjectChangeOrderSearchStatusAction.builder()
.status(OrderSearchStatus.ACTIVATED)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProjectChangeOrderSearchStatusAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProjectChangeOrderSearchStatusActionbuilder
(ProjectChangeOrderSearchStatusAction template) create builder for ProjectChangeOrderSearchStatusAction instancedeepCopy
(ProjectChangeOrderSearchStatusAction template) factory method to create a deep copy of ProjectChangeOrderSearchStatusAction@NotNull OrderSearchStatus
Activates or deactivates the Order Search feature.of()
factory methodof
(ProjectChangeOrderSearchStatusAction template) factory method to create a shallow copy ProjectChangeOrderSearchStatusActionvoid
setStatus
(OrderSearchStatus status) Activates or deactivates the Order Search feature.static com.fasterxml.jackson.core.type.TypeReference<ProjectChangeOrderSearchStatusAction>
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_ORDER_SEARCH_STATUS
discriminator value for ProjectChangeOrderSearchStatusAction- See Also:
-
-
Method Details
-
getStatus
Activates or deactivates the Order Search feature. Activation will trigger building a search index for the Orders in the Project.
- Returns:
- status
-
setStatus
Activates or deactivates the Order Search feature. Activation will trigger building a search index for the Orders in the Project.
- Parameters:
status
- value to be set
-
of
factory method- Returns:
- instance of ProjectChangeOrderSearchStatusAction
-
of
factory method to create a shallow copy ProjectChangeOrderSearchStatusAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProjectChangeOrderSearchStatusAction deepCopy(@Nullable ProjectChangeOrderSearchStatusAction template) factory method to create a deep copy of ProjectChangeOrderSearchStatusAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProjectChangeOrderSearchStatusAction- Returns:
- builder
-
builder
static ProjectChangeOrderSearchStatusActionBuilder builder(ProjectChangeOrderSearchStatusAction template) create builder for ProjectChangeOrderSearchStatusAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProjectChangeOrderSearchStatusAction
default <T> T withProjectChangeOrderSearchStatusAction(Function<ProjectChangeOrderSearchStatusAction, 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<ProjectChangeOrderSearchStatusAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-