Interface CategorySetExternalIdAction
- All Superinterfaces:
CategoryUpdateAction,ResourceUpdateAction<CategoryUpdateAction>
This update action sets a new ID that can be used as an additional identifier for external systems like customer relationship management (CRM) or enterprise resource planning (ERP).
Example to create an instance using the builder pattern
CategorySetExternalIdAction categorySetExternalIdAction = CategorySetExternalIdAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CategorySetExternalIdAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CategorySetExternalIdActionbuilder(CategorySetExternalIdAction template) create builder for CategorySetExternalIdAction instancecopyDeep()static CategorySetExternalIdActiondeepCopy(CategorySetExternalIdAction template) factory method to create a deep copy of CategorySetExternalIdActionValue to set.static CategorySetExternalIdActionof()factory methodstatic CategorySetExternalIdActionof(CategorySetExternalIdAction template) factory method to create a shallow copy CategorySetExternalIdActionvoidsetExternalId(String externalId) Value to set.static com.fasterxml.jackson.core.type.TypeReference<CategorySetExternalIdAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.category.CategoryUpdateAction
getAction, withCategoryUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_EXTERNAL_ID
discriminator value for CategorySetExternalIdAction- See Also:
-
-
Method Details
-
getExternalId
String getExternalId()Value to set. If empty, any existing value will be removed.
- Returns:
- externalId
-
setExternalId
Value to set. If empty, any existing value will be removed.
- Parameters:
externalId- value to be set
-
of
factory method- Returns:
- instance of CategorySetExternalIdAction
-
of
factory method to create a shallow copy CategorySetExternalIdAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
CategorySetExternalIdAction copyDeep()- Specified by:
copyDeepin interfaceCategoryUpdateAction
-
deepCopy
@Nullable static CategorySetExternalIdAction deepCopy(@Nullable CategorySetExternalIdAction template) factory method to create a deep copy of CategorySetExternalIdAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CategorySetExternalIdAction- Returns:
- builder
-
builder
create builder for CategorySetExternalIdAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withCategorySetExternalIdAction
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
-