Class RuleRequesterDraftImpl
java.lang.Object
com.commercetools.api.models.approval_rule.RuleRequesterDraftImpl
- All Implemented Interfaces:
RuleRequesterDraft
,io.vrap.rmf.base.client.Draft<RuleRequesterDraft>
,io.vrap.rmf.base.client.ModelBase
public class RuleRequesterDraftImpl
extends Object
implements RuleRequesterDraft, io.vrap.rmf.base.client.ModelBase
RuleRequesterDraft
-
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
The Associate Role that an Associate must hold for the Approval Rule to apply to the Orders they create.int
hashCode()
void
setAssociateRole
(AssociateRoleResourceIdentifier associateRole) The Associate Role that an Associate must hold for the Approval Rule to apply to the Orders they create.toString()
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.approval_rule.RuleRequesterDraft
withRuleRequesterDraft
-
Constructor Details
-
RuleRequesterDraftImpl
public RuleRequesterDraftImpl()create empty instance
-
-
Method Details
-
getAssociateRole
The Associate Role that an Associate must hold for the Approval Rule to apply to the Orders they create.
- Specified by:
getAssociateRole
in interfaceRuleRequesterDraft
- Returns:
- associateRole
-
setAssociateRole
Description copied from interface:RuleRequesterDraft
The Associate Role that an Associate must hold for the Approval Rule to apply to the Orders they create.
- Specified by:
setAssociateRole
in interfaceRuleRequesterDraft
- Parameters:
associateRole
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-