Class StoreAddProductSelectionActionImpl
java.lang.Object
com.commercetools.api.models.store.StoreAddProductSelectionActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<StoreUpdateAction>
,StoreAddProductSelectionAction
,StoreUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class StoreAddProductSelectionActionImpl
extends Object
implements StoreAddProductSelectionAction, io.vrap.rmf.base.client.ModelBase
To make all included Products available to your customers of a given Store, add the Product Selections to the respective Store. This action has no effect if the given Product Selection is already present in the Store and has the same active
flag.
-
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.store.StoreAddProductSelectionAction
ADD_PRODUCT_SELECTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Set totrue
to make all Products assigned to the referenced Product Selection available in the Store.Product Selection to add to the Store either activated or deactivated.int
hashCode()
void
Set totrue
to make all Products assigned to the referenced Product Selection available in the Store.void
setProductSelection
(ProductSelectionResourceIdentifier productSelection) Product Selection to add to the Store either activated or deactivated.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.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.store.StoreAddProductSelectionAction
withStoreAddProductSelectionAction
Methods inherited from interface com.commercetools.api.models.store.StoreUpdateAction
withStoreUpdateAction
-
Constructor Details
-
StoreAddProductSelectionActionImpl
public StoreAddProductSelectionActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StoreUpdateAction>
- Specified by:
getAction
in interfaceStoreUpdateAction
- Returns:
- action
-
getProductSelection
Product Selection to add to the Store either activated or deactivated.
- Specified by:
getProductSelection
in interfaceStoreAddProductSelectionAction
- Returns:
- productSelection
-
getActive
Set to
true
to make all Products assigned to the referenced Product Selection available in the Store.- Specified by:
getActive
in interfaceStoreAddProductSelectionAction
- Returns:
- active
-
setProductSelection
Description copied from interface:StoreAddProductSelectionAction
Product Selection to add to the Store either activated or deactivated.
- Specified by:
setProductSelection
in interfaceStoreAddProductSelectionAction
- Parameters:
productSelection
- value to be set
-
setActive
Description copied from interface:StoreAddProductSelectionAction
Set to
true
to make all Products assigned to the referenced Product Selection available in the Store.- Specified by:
setActive
in interfaceStoreAddProductSelectionAction
- Parameters:
active
- value to be set
-
equals
-
hashCode
-