Class BusinessUnitChangeAssociateModeActionImpl
java.lang.Object
com.commercetools.api.models.business_unit.BusinessUnitChangeAssociateModeActionImpl
- All Implemented Interfaces:
BusinessUnitChangeAssociateModeAction
,BusinessUnitUpdateAction
,ResourceUpdateAction<BusinessUnitUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class BusinessUnitChangeAssociateModeActionImpl
extends Object
implements BusinessUnitChangeAssociateModeAction, io.vrap.rmf.base.client.ModelBase
Only Business Units of type Division
can be changed to ExplicitAndFromParent
. This update action generates a BusinessUnitAssociateModeChanged 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.BusinessUnitChangeAssociateModeAction
CHANGE_ASSOCIATE_MODE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The new value forassociateMode
.int
hashCode()
void
setAssociateMode
(BusinessUnitAssociateMode associateMode) The new value forassociateMode
.toString()
Methods inherited from interface com.commercetools.api.models.business_unit.BusinessUnitChangeAssociateModeAction
withBusinessUnitChangeAssociateModeAction
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
-
BusinessUnitChangeAssociateModeActionImpl
public BusinessUnitChangeAssociateModeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceBusinessUnitUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<BusinessUnitUpdateAction>
- Returns:
- action
-
getAssociateMode
The new value for
associateMode
.- Specified by:
getAssociateMode
in interfaceBusinessUnitChangeAssociateModeAction
- Returns:
- associateMode
-
setAssociateMode
Description copied from interface:BusinessUnitChangeAssociateModeAction
The new value for
associateMode
.- Specified by:
setAssociateMode
in interfaceBusinessUnitChangeAssociateModeAction
- Parameters:
associateMode
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-