Class ApprovalRuleStatusSetMessagePayloadImpl
java.lang.Object
com.commercetools.api.models.message.ApprovalRuleStatusSetMessagePayloadImpl
- All Implemented Interfaces:
ApprovalRuleStatusSetMessagePayload
,MessagePayload
,io.vrap.rmf.base.client.ModelBase
public class ApprovalRuleStatusSetMessagePayloadImpl
extends Object
implements ApprovalRuleStatusSetMessagePayload, io.vrap.rmf.base.client.ModelBase
Generated after a successful Set Status update action.
-
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.ApprovalRuleStatusSetMessagePayload
APPROVAL_RULE_STATUS_SET
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Status of the ApprovalRule before the Set Status update action.Status of the ApprovalRule after the Set Status update action.getType()
int
hashCode()
void
setOldStatus
(ApprovalRuleStatus oldStatus) Status of the ApprovalRule before the Set Status update action.void
setStatus
(ApprovalRuleStatus status) Status of the ApprovalRule after the Set Status update action.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.message.ApprovalRuleStatusSetMessagePayload
withApprovalRuleStatusSetMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayload
withMessagePayload
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ApprovalRuleStatusSetMessagePayloadImpl
public ApprovalRuleStatusSetMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getStatus
Status of the ApprovalRule after the Set Status update action.
- Specified by:
getStatus
in interfaceApprovalRuleStatusSetMessagePayload
- Returns:
- status
-
getOldStatus
Status of the ApprovalRule before the Set Status update action.
- Specified by:
getOldStatus
in interfaceApprovalRuleStatusSetMessagePayload
- Returns:
- oldStatus
-
setStatus
Description copied from interface:ApprovalRuleStatusSetMessagePayload
Status of the ApprovalRule after the Set Status update action.
- Specified by:
setStatus
in interfaceApprovalRuleStatusSetMessagePayload
- Parameters:
status
- value to be set
-
setOldStatus
Description copied from interface:ApprovalRuleStatusSetMessagePayload
Status of the ApprovalRule before the Set Status update action.
- Specified by:
setOldStatus
in interfaceApprovalRuleStatusSetMessagePayload
- Parameters:
oldStatus
- value to be set
-
equals
-
hashCode
public int hashCode()
-