Class OrderCustomFieldChangedMessagePayloadImpl
- All Implemented Interfaces:
MessagePayload
,OrderCustomFieldChangedMessagePayload
,OrderMessagePayload
,io.vrap.rmf.base.client.ModelBase
Generated when an existing Custom Field has been changed using the Set CustomField 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.OrderCustomFieldChangedMessagePayload
ORDER_CUSTOM_FIELD_CHANGED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
Name of the Custom Field that changed.CustomFieldValue based on the FieldType before the Set CustomField update action.getType()
getValue()
CustomFieldValue based on the FieldType after the Set CustomField update action.int
hashCode()
void
Name of the Custom Field that changed.void
setPreviousValue
(Object previousValue) CustomFieldValue based on the FieldType before the Set CustomField update action.void
CustomFieldValue based on the FieldType after the Set CustomField 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.MessagePayload
withMessagePayload
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.message.OrderCustomFieldChangedMessagePayload
withOrderCustomFieldChangedMessagePayload
Methods inherited from interface com.commercetools.api.models.message.OrderMessagePayload
withOrderMessagePayload
-
Constructor Details
-
OrderCustomFieldChangedMessagePayloadImpl
public OrderCustomFieldChangedMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getName
Name of the Custom Field that changed.
- Specified by:
getName
in interfaceOrderCustomFieldChangedMessagePayload
- Returns:
- name
-
getValue
CustomFieldValue based on the FieldType after the Set CustomField update action.
- Specified by:
getValue
in interfaceOrderCustomFieldChangedMessagePayload
- Returns:
- value
-
getPreviousValue
CustomFieldValue based on the FieldType before the Set CustomField update action. When there has not been a Custom Field with the
name
on the Order before, an Order Custom Field Added Message is generated instead.- Specified by:
getPreviousValue
in interfaceOrderCustomFieldChangedMessagePayload
- Returns:
- previousValue
-
setName
Description copied from interface:OrderCustomFieldChangedMessagePayload
Name of the Custom Field that changed.
- Specified by:
setName
in interfaceOrderCustomFieldChangedMessagePayload
- Parameters:
name
- value to be set
-
setValue
Description copied from interface:OrderCustomFieldChangedMessagePayload
CustomFieldValue based on the FieldType after the Set CustomField update action.
- Specified by:
setValue
in interfaceOrderCustomFieldChangedMessagePayload
- Parameters:
value
- value to be set
-
setPreviousValue
Description copied from interface:OrderCustomFieldChangedMessagePayload
CustomFieldValue based on the FieldType before the Set CustomField update action. When there has not been a Custom Field with the
name
on the Order before, an Order Custom Field Added Message is generated instead.- Specified by:
setPreviousValue
in interfaceOrderCustomFieldChangedMessagePayload
- Parameters:
previousValue
- value to be set
-
equals
-
hashCode
public int hashCode()
-