Class ApprovalRuleSetDescriptionActionImpl
java.lang.Object
com.commercetools.api.models.approval_rule.ApprovalRuleSetDescriptionActionImpl
- All Implemented Interfaces:
ApprovalRuleSetDescriptionAction
,ApprovalRuleUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class ApprovalRuleSetDescriptionActionImpl
extends Object
implements ApprovalRuleSetDescriptionAction, io.vrap.rmf.base.client.ModelBase
Setting the description for an Approval Rule generates an ApprovalRuleDescriptionSet 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.approval_rule.ApprovalRuleSetDescriptionAction
SET_DESCRIPTION
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
New description to set for the Approval Rule.int
hashCode()
void
setDescription
(String description) New description to set for the Approval Rule.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.approval_rule.ApprovalRuleSetDescriptionAction
withApprovalRuleSetDescriptionAction
Methods inherited from interface com.commercetools.api.models.approval_rule.ApprovalRuleUpdateAction
withApprovalRuleUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ApprovalRuleSetDescriptionActionImpl
public ApprovalRuleSetDescriptionActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceApprovalRuleUpdateAction
- Returns:
- action
-
getDescription
New description to set for the Approval Rule.
- Specified by:
getDescription
in interfaceApprovalRuleSetDescriptionAction
- Returns:
- description
-
setDescription
Description copied from interface:ApprovalRuleSetDescriptionAction
New description to set for the Approval Rule.
- Specified by:
setDescription
in interfaceApprovalRuleSetDescriptionAction
- Parameters:
description
- value to be set
-
equals
-
hashCode
public int hashCode()
-