Class BusinessUnitChangeParentUnitActionImpl
java.lang.Object
com.commercetools.api.models.business_unit.BusinessUnitChangeParentUnitActionImpl
- All Implemented Interfaces:
BusinessUnitChangeParentUnitAction
,BusinessUnitUpdateAction
,ResourceUpdateAction<BusinessUnitUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class BusinessUnitChangeParentUnitActionImpl
extends Object
implements BusinessUnitChangeParentUnitAction, 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.business_unit.BusinessUnitChangeParentUnitAction
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 com.commercetools.api.models.business_unit.BusinessUnitChangeParentUnitAction
withBusinessUnitChangeParentUnitAction
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
-
BusinessUnitChangeParentUnitActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceBusinessUnitUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<BusinessUnitUpdateAction>
- 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 interfaceBusinessUnitChangeParentUnitAction
- Returns:
- parentUnit
-
setParentUnit
Description copied from interface:BusinessUnitChangeParentUnitAction
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 interfaceBusinessUnitChangeParentUnitAction
- Parameters:
parentUnit
- value to be set
-
equals
-
hashCode
-