Class ProductPublishActionImpl
java.lang.Object
com.commercetools.api.models.product.ProductPublishActionImpl
- All Implemented Interfaces:
ProductPublishAction
,ProductUpdateAction
,ResourceUpdateAction<ProductUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class ProductPublishActionImpl
extends Object
implements ProductPublishAction, io.vrap.rmf.base.client.ModelBase
Publishes product data from the Product's staged projection to its current projection. Produces the ProductPublished Message.
-
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.ProductPublishAction
PUBLISH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getScope()
All
orPrices
int
hashCode()
void
setScope
(ProductPublishScope scope) All
orPrices
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.ProductPublishAction
withProductPublishAction
Methods inherited from interface com.commercetools.api.models.product.ProductUpdateAction
withProductUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
ProductPublishActionImpl
public ProductPublishActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceProductUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ProductUpdateAction>
- Returns:
- action
-
getScope
All
orPrices
- Specified by:
getScope
in interfaceProductPublishAction
- Returns:
- scope
-
setScope
Description copied from interface:ProductPublishAction
All
orPrices
- Specified by:
setScope
in interfaceProductPublishAction
- Parameters:
scope
- value to be set
-
equals
-
hashCode
public int hashCode()
-