Class BusinessUnitSetStoresActionImpl
java.lang.Object
com.commercetools.api.models.business_unit.BusinessUnitSetStoresActionImpl
- All Implemented Interfaces:
BusinessUnitSetStoresAction
,BusinessUnitUpdateAction
,ResourceUpdateAction<BusinessUnitUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class BusinessUnitSetStoresActionImpl
extends Object
implements BusinessUnitSetStoresAction, io.vrap.rmf.base.client.ModelBase
Sets the Stores of the Business Unit. Can only be set if the Business Unit storeMode
is Explicit
. Carts and Orders created after the Set Stores update must use the new Stores of the Business Unit and, if set, their Product Selections, and Channels. Orders created before the Set Stores update action remain unchanged. Setting the Stores on a Business Unit generates a BusinessUnitStoresSet 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.business_unit.BusinessUnitSetStoresAction
SET_STORES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Stores to set.int
hashCode()
void
setStores
(StoreResourceIdentifier... stores) Stores to set.void
setStores
(List<StoreResourceIdentifier> stores) Stores to set.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.business_unit.BusinessUnitSetStoresAction
withBusinessUnitSetStoresAction
Methods inherited from interface com.commercetools.api.models.business_unit.BusinessUnitUpdateAction
withBusinessUnitUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
BusinessUnitSetStoresActionImpl
public BusinessUnitSetStoresActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceBusinessUnitUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<BusinessUnitUpdateAction>
- Returns:
- action
-
getStores
Stores to set. Overrides the current list of Stores.
- Specified by:
getStores
in interfaceBusinessUnitSetStoresAction
- Returns:
- stores
-
setStores
Description copied from interface:BusinessUnitSetStoresAction
Stores to set. Overrides the current list of Stores.
- Specified by:
setStores
in interfaceBusinessUnitSetStoresAction
- Parameters:
stores
- values to be set
-
setStores
Description copied from interface:BusinessUnitSetStoresAction
Stores to set. Overrides the current list of Stores.
- Specified by:
setStores
in interfaceBusinessUnitSetStoresAction
- Parameters:
stores
- values to be set
-
equals
-
hashCode
-