Class ProductSetDescriptionActionImpl
java.lang.Object
com.commercetools.api.models.product.ProductSetDescriptionActionImpl
- All Implemented Interfaces:
ProductSetDescriptionAction
,ProductUpdateAction
,ResourceUpdateAction<ProductUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class ProductSetDescriptionActionImpl
extends Object
implements ProductSetDescriptionAction, io.vrap.rmf.base.client.ModelBase
ProductSetDescriptionAction
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.product.ProductSetDescriptionAction
SET_DESCRIPTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Value to set.Iftrue
, only the stageddescription
is updated.int
hashCode()
void
setDescription
(LocalizedString description) Value to set.void
Iftrue
, only the stageddescription
is updated.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.product.ProductSetDescriptionAction
withProductSetDescriptionAction
Methods inherited from interface com.commercetools.api.models.product.ProductUpdateAction
withProductUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
ProductSetDescriptionActionImpl
public ProductSetDescriptionActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceProductUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ProductUpdateAction>
- Returns:
- action
-
getDescription
Value to set. If empty, any existing value will be removed.
- Specified by:
getDescription
in interfaceProductSetDescriptionAction
- Returns:
- description
-
getStaged
If
true
, only the stageddescription
is updated. Iffalse
, both the current and stageddescription
are updated.- Specified by:
getStaged
in interfaceProductSetDescriptionAction
- Returns:
- staged
-
setDescription
Description copied from interface:ProductSetDescriptionAction
Value to set. If empty, any existing value will be removed.
- Specified by:
setDescription
in interfaceProductSetDescriptionAction
- Parameters:
description
- value to be set
-
setStaged
Description copied from interface:ProductSetDescriptionAction
If
true
, only the stageddescription
is updated. Iffalse
, both the current and stageddescription
are updated.- Specified by:
setStaged
in interfaceProductSetDescriptionAction
- Parameters:
staged
- value to be set
-
equals
-
hashCode
public int hashCode()
-