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