Class AssociateDraftImpl
java.lang.Object
com.commercetools.api.models.business_unit.AssociateDraftImpl
- All Implemented Interfaces:
AssociateDraft
,io.vrap.rmf.base.client.Draft<AssociateDraft>
,io.vrap.rmf.base.client.ModelBase
public class AssociateDraftImpl
extends Object
implements AssociateDraft, io.vrap.rmf.base.client.ModelBase
AssociateDraft
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Roles assigned to the Associate within a Business Unit.The Customer to be part of the Business Unit.int
hashCode()
void
setAssociateRoleAssignments
(AssociateRoleAssignmentDraft... associateRoleAssignments) Roles assigned to the Associate within a Business Unit.void
setAssociateRoleAssignments
(List<AssociateRoleAssignmentDraft> associateRoleAssignments) Roles assigned to the Associate within a Business Unit.void
setCustomer
(CustomerResourceIdentifier customer) The Customer to be part 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.AssociateDraft
withAssociateDraft
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
AssociateDraftImpl
public AssociateDraftImpl()create empty instance
-
-
Method Details
-
getAssociateRoleAssignments
Roles assigned to the Associate within a Business Unit.
- Specified by:
getAssociateRoleAssignments
in interfaceAssociateDraft
- Returns:
- associateRoleAssignments
-
getCustomer
The Customer to be part of the Business Unit.
- Specified by:
getCustomer
in interfaceAssociateDraft
- Returns:
- customer
-
setAssociateRoleAssignments
Description copied from interface:AssociateDraft
Roles assigned to the Associate within a Business Unit.
- Specified by:
setAssociateRoleAssignments
in interfaceAssociateDraft
- Parameters:
associateRoleAssignments
- values to be set
-
setAssociateRoleAssignments
public void setAssociateRoleAssignments(List<AssociateRoleAssignmentDraft> associateRoleAssignments) Description copied from interface:AssociateDraft
Roles assigned to the Associate within a Business Unit.
- Specified by:
setAssociateRoleAssignments
in interfaceAssociateDraft
- Parameters:
associateRoleAssignments
- values to be set
-
setCustomer
Description copied from interface:AssociateDraft
The Customer to be part of the Business Unit.
- Specified by:
setCustomer
in interfaceAssociateDraft
- Parameters:
customer
- value to be set
-
equals
-
hashCode
public int hashCode()
-