Class ApprovalRuleCreatedMessagePayloadImpl
java.lang.Object
com.commercetools.api.models.message.ApprovalRuleCreatedMessagePayloadImpl
- All Implemented Interfaces:
ApprovalRuleCreatedMessagePayload
,MessagePayload
,MessagePayloadMixin
,io.vrap.rmf.base.client.ModelBase
public class ApprovalRuleCreatedMessagePayloadImpl
extends Object
implements ApprovalRuleCreatedMessagePayload, io.vrap.rmf.base.client.ModelBase
Generated after an Approval Rule is created.
-
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.message.ApprovalRuleCreatedMessagePayload
APPROVAL_RULE_CREATED
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
The Approval Rule that was created.getType()
int
hashCode()
void
setApprovalRule
(ApprovalRule approvalRule) The Approval Rule that was created.toString()
Methods inherited from interface com.commercetools.api.models.message.ApprovalRuleCreatedMessagePayload
withApprovalRuleCreatedMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayload
withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ApprovalRuleCreatedMessagePayloadImpl
public ApprovalRuleCreatedMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getApprovalRule
The Approval Rule that was created.
- Specified by:
getApprovalRule
in interfaceApprovalRuleCreatedMessagePayload
- Returns:
- approvalRule
-
setApprovalRule
Description copied from interface:ApprovalRuleCreatedMessagePayload
The Approval Rule that was created.
- Specified by:
setApprovalRule
in interfaceApprovalRuleCreatedMessagePayload
- Parameters:
approvalRule
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-