Class StoreChangeProductSelectionActionImpl
java.lang.Object
com.commercetools.api.models.store.StoreChangeProductSelectionActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<StoreUpdateAction>
,StoreChangeProductSelectionAction
,StoreUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class StoreChangeProductSelectionActionImpl
extends Object
implements StoreChangeProductSelectionAction, io.vrap.rmf.base.client.ModelBase
ProductSelection in a Store can be activated or deactivated using this update action.
-
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.StoreChangeProductSelectionAction
CHANGE_PRODUCT_SELECTION_ACTIVE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Set totrue
if all Products assigned to the Product Selection should become part of the Store's assortment.Current Product Selection of the Store to be activated or deactivated.int
hashCode()
void
Set totrue
if all Products assigned to the Product Selection should become part of the Store's assortment.void
setProductSelection
(ProductSelectionResourceIdentifier productSelection) Current Product Selection of the Store to be 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.StoreChangeProductSelectionAction
withStoreChangeProductSelectionAction
Methods inherited from interface com.commercetools.api.models.store.StoreUpdateAction
withStoreUpdateAction
-
Constructor Details
-
StoreChangeProductSelectionActionImpl
public StoreChangeProductSelectionActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StoreUpdateAction>
- Specified by:
getAction
in interfaceStoreUpdateAction
- Returns:
- action
-
getProductSelection
Current Product Selection of the Store to be activated or deactivated.
- Specified by:
getProductSelection
in interfaceStoreChangeProductSelectionAction
- Returns:
- productSelection
-
getActive
Set to
true
if all Products assigned to the Product Selection should become part of the Store's assortment.- Specified by:
getActive
in interfaceStoreChangeProductSelectionAction
- Returns:
- active
-
setProductSelection
Description copied from interface:StoreChangeProductSelectionAction
Current Product Selection of the Store to be activated or deactivated.
- Specified by:
setProductSelection
in interfaceStoreChangeProductSelectionAction
- Parameters:
productSelection
- value to be set
-
setActive
Description copied from interface:StoreChangeProductSelectionAction
Set to
true
if all Products assigned to the Product Selection should become part of the Store's assortment.- Specified by:
setActive
in interfaceStoreChangeProductSelectionAction
- Parameters:
active
- value to be set
-
equals
-
hashCode
public int hashCode()
-