Class BusinessUnitRemoveStoreActionImpl
java.lang.Object
com.commercetools.api.models.business_unit.BusinessUnitRemoveStoreActionImpl
- All Implemented Interfaces:
BusinessUnitRemoveStoreAction
,BusinessUnitUpdateAction
,ResourceUpdateAction<BusinessUnitUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class BusinessUnitRemoveStoreActionImpl
extends Object
implements BusinessUnitRemoveStoreAction, io.vrap.rmf.base.client.ModelBase
Removes a Store from the Business Unit. Newly created Carts and Orders can no longer reference the removed Store for the Business Unit. We recommend cleaning up unordered Carts that still have the Store assigned after calling this update action since those cannot be converted to Orders. Orders created before the Store was removed remain unchanged. Generates a BusinessUnitStoreRemoved Message. Only applicable when storeMode
is Explicit
.
-
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.BusinessUnitRemoveStoreAction
REMOVE_STORE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getStore()
Store to remove.int
hashCode()
void
setStore
(StoreResourceIdentifier store) Store to remove.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.business_unit.BusinessUnitRemoveStoreAction
withBusinessUnitRemoveStoreAction
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
-
BusinessUnitRemoveStoreActionImpl
public BusinessUnitRemoveStoreActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceBusinessUnitUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<BusinessUnitUpdateAction>
- Returns:
- action
-
getStore
Store to remove.
- Specified by:
getStore
in interfaceBusinessUnitRemoveStoreAction
- Returns:
- store
-
setStore
Description copied from interface:BusinessUnitRemoveStoreAction
Store to remove.
- Specified by:
setStore
in interfaceBusinessUnitRemoveStoreAction
- Parameters:
store
- value to be set
-
equals
-
hashCode
-