Package com.commercetools.api.models.me
Class MyBusinessUnitChangeParentUnitActionImpl
java.lang.Object
com.commercetools.api.models.me.MyBusinessUnitChangeParentUnitActionImpl
- All Implemented Interfaces:
MyBusinessUnitChangeParentUnitAction
,MyBusinessUnitUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class MyBusinessUnitChangeParentUnitActionImpl
extends Object
implements MyBusinessUnitChangeParentUnitAction, io.vrap.rmf.base.client.ModelBase
Changing the parent of a Business Unit generates a BusinessUnitParentChanged 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.me.MyBusinessUnitChangeParentUnitAction
CHANGE_PARENT_UNIT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
New parent unit of the Business Unit.int
hashCode()
void
setParentUnit
(BusinessUnitResourceIdentifier parentUnit) New parent unit of the Business Unit.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.me.MyBusinessUnitChangeParentUnitAction
withMyBusinessUnitChangeParentUnitAction
Methods inherited from interface com.commercetools.api.models.me.MyBusinessUnitUpdateAction
withMyBusinessUnitUpdateAction
-
Constructor Details
-
MyBusinessUnitChangeParentUnitActionImpl
public MyBusinessUnitChangeParentUnitActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceMyBusinessUnitUpdateAction
- Returns:
- action
-
getParentUnit
New parent unit of the Business Unit. The new parent unit must have the same top-level unit as the old parent unit.
- Specified by:
getParentUnit
in interfaceMyBusinessUnitChangeParentUnitAction
- Returns:
- parentUnit
-
setParentUnit
Description copied from interface:MyBusinessUnitChangeParentUnitAction
New parent unit of the Business Unit. The new parent unit must have the same top-level unit as the old parent unit.
- Specified by:
setParentUnit
in interfaceMyBusinessUnitChangeParentUnitAction
- Parameters:
parentUnit
- value to be set
-
equals
-
hashCode
public int hashCode()
-