Class BusinessUnitAddAssociateActionImpl
java.lang.Object
com.commercetools.api.models.business_unit.BusinessUnitAddAssociateActionImpl
- All Implemented Interfaces:
BusinessUnitAddAssociateAction
,BusinessUnitUpdateAction
,ResourceUpdateAction<BusinessUnitUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class BusinessUnitAddAssociateActionImpl
extends Object
implements BusinessUnitAddAssociateAction, io.vrap.rmf.base.client.ModelBase
Adding an Associate to a Business Unit generates a BusinessUnitAssociateAdded 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.BusinessUnitAddAssociateAction
ADD_ASSOCIATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The Associate to add.int
hashCode()
void
setAssociate
(AssociateDraft associate) The Associate to add.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.business_unit.BusinessUnitAddAssociateAction
withBusinessUnitAddAssociateAction
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
-
BusinessUnitAddAssociateActionImpl
public BusinessUnitAddAssociateActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceBusinessUnitUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<BusinessUnitUpdateAction>
- Returns:
- action
-
getAssociate
The Associate to add.
- Specified by:
getAssociate
in interfaceBusinessUnitAddAssociateAction
- Returns:
- associate
-
setAssociate
Description copied from interface:BusinessUnitAddAssociateAction
The Associate to add.
- Specified by:
setAssociate
in interfaceBusinessUnitAddAssociateAction
- Parameters:
associate
- value to be set
-
equals
-
hashCode
public int hashCode()
-