Class OrderCustomFieldAddedMessagePayloadImpl
java.lang.Object
com.commercetools.api.models.message.OrderCustomFieldAddedMessagePayloadImpl
- All Implemented Interfaces:
MessagePayload,MessagePayloadMixin,OrderCustomFieldAddedMessagePayload,OrderMessagePayload,io.vrap.rmf.base.client.ModelBase
public class OrderCustomFieldAddedMessagePayloadImpl
extends Object
implements OrderCustomFieldAddedMessagePayload, io.vrap.rmf.base.client.ModelBase
Generated after adding a Custom Field using the Set CustomField.
-
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.OrderCustomFieldAddedMessagePayload
ORDER_CUSTOM_FIELD_ADDED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyDeep()booleangetName()Name of the Custom Field that was added.getType()getValue()The added CustomFieldValue based on the FieldType.inthashCode()voidName of the Custom Field that was added.voidThe added CustomFieldValue based on the FieldType.toString()Methods inherited from interface com.commercetools.api.models.message.MessagePayload
withMessagePayloadMethods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
asMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionStringMethods inherited from interface com.commercetools.api.models.message.OrderCustomFieldAddedMessagePayload
withOrderCustomFieldAddedMessagePayloadMethods inherited from interface com.commercetools.api.models.message.OrderMessagePayload
withOrderMessagePayload
-
Constructor Details
-
OrderCustomFieldAddedMessagePayloadImpl
public OrderCustomFieldAddedMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceMessagePayload- Returns:
- type
-
getName
Name of the Custom Field that was added.
- Specified by:
getNamein interfaceOrderCustomFieldAddedMessagePayload- Returns:
- name
-
getValue
The added CustomFieldValue based on the FieldType.
- Specified by:
getValuein interfaceOrderCustomFieldAddedMessagePayload- Returns:
- value
-
setName
Description copied from interface:OrderCustomFieldAddedMessagePayloadName of the Custom Field that was added.
- Specified by:
setNamein interfaceOrderCustomFieldAddedMessagePayload- Parameters:
name- value to be set
-
setValue
Description copied from interface:OrderCustomFieldAddedMessagePayloadThe added CustomFieldValue based on the FieldType.
- Specified by:
setValuein interfaceOrderCustomFieldAddedMessagePayload- Parameters:
value- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-
copyDeep
- Specified by:
copyDeepin interfaceMessagePayload- Specified by:
copyDeepin interfaceOrderCustomFieldAddedMessagePayload- Specified by:
copyDeepin interfaceOrderMessagePayload
-