Interface ProductSetMetaTitleAction
- All Superinterfaces:
ProductUpdateAction
,ResourceUpdateAction<ProductUpdateAction>
ProductSetMetaTitleAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductSetMetaTitleAction productSetMetaTitleAction = ProductSetMetaTitleAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProductSetMetaTitleAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductSetMetaTitleActionbuilder
(ProductSetMetaTitleAction template) create builder for ProductSetMetaTitleAction instancestatic ProductSetMetaTitleAction
deepCopy
(ProductSetMetaTitleAction template) factory method to create a deep copy of ProductSetMetaTitleAction@Valid LocalizedString
Value to set.Iftrue
, only the stagedmetaTitle
is updated.static ProductSetMetaTitleAction
of()
factory methodstatic ProductSetMetaTitleAction
of
(ProductSetMetaTitleAction template) factory method to create a shallow copy ProductSetMetaTitleActionvoid
setMetaTitle
(LocalizedString metaTitle) Value to set.void
Iftrue
, only the stagedmetaTitle
is updated.static com.fasterxml.jackson.core.type.TypeReference<ProductSetMetaTitleAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.product.ProductUpdateAction
getAction, withProductUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_META_TITLE
discriminator value for ProductSetMetaTitleAction- See Also:
-
-
Method Details
-
getMetaTitle
Value to set. If empty, any existing value will be removed.
- Returns:
- metaTitle
-
getStaged
Boolean getStaged()If
true
, only the stagedmetaTitle
is updated. Iffalse
, both the current and stagedmetaTitle
are updated.- Returns:
- staged
-
setMetaTitle
Value to set. If empty, any existing value will be removed.
- Parameters:
metaTitle
- value to be set
-
setStaged
If
true
, only the stagedmetaTitle
is updated. Iffalse
, both the current and stagedmetaTitle
are updated.- Parameters:
staged
- value to be set
-
of
factory method- Returns:
- instance of ProductSetMetaTitleAction
-
of
factory method to create a shallow copy ProductSetMetaTitleAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ProductSetMetaTitleAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductSetMetaTitleAction- Returns:
- builder
-
builder
create builder for ProductSetMetaTitleAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductSetMetaTitleAction
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
-