Class ApprovalRulePredicateSetMessagePayloadImpl
java.lang.Object
com.commercetools.api.models.message.ApprovalRulePredicateSetMessagePayloadImpl
- All Implemented Interfaces:
ApprovalRulePredicateSetMessagePayload
,MessagePayload
,io.vrap.rmf.base.client.ModelBase
public class ApprovalRulePredicateSetMessagePayloadImpl
extends Object
implements ApprovalRulePredicateSetMessagePayload, io.vrap.rmf.base.client.ModelBase
Generated after a successful Set Predicate 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.ApprovalRulePredicateSetMessagePayload
APPROVAL_RULE_PREDICATE_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Name of the ApprovalRule before the Set Predicate update action.Name of the ApprovalRule after the Set Predicate update action.getType()
int
hashCode()
void
setOldPredicate
(String oldPredicate) Name of the ApprovalRule before the Set Predicate update action.void
setPredicate
(String predicate) Name of the ApprovalRule after the Set Predicate 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.ApprovalRulePredicateSetMessagePayload
withApprovalRulePredicateSetMessagePayload
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
-
ApprovalRulePredicateSetMessagePayloadImpl
public ApprovalRulePredicateSetMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getPredicate
Name of the ApprovalRule after the Set Predicate update action.
- Specified by:
getPredicate
in interfaceApprovalRulePredicateSetMessagePayload
- Returns:
- predicate
-
getOldPredicate
Name of the ApprovalRule before the Set Predicate update action.
- Specified by:
getOldPredicate
in interfaceApprovalRulePredicateSetMessagePayload
- Returns:
- oldPredicate
-
setPredicate
Description copied from interface:ApprovalRulePredicateSetMessagePayload
Name of the ApprovalRule after the Set Predicate update action.
- Specified by:
setPredicate
in interfaceApprovalRulePredicateSetMessagePayload
- Parameters:
predicate
- value to be set
-
setOldPredicate
Description copied from interface:ApprovalRulePredicateSetMessagePayload
Name of the ApprovalRule before the Set Predicate update action.
- Specified by:
setOldPredicate
in interfaceApprovalRulePredicateSetMessagePayload
- Parameters:
oldPredicate
- value to be set
-
equals
-
hashCode
public int hashCode()
-