Class CustomerAddressCustomFieldChangedMessagePayloadImpl
- All Implemented Interfaces:
CustomerAddressCustomFieldChangedMessagePayload
,MessagePayload
,io.vrap.rmf.base.client.ModelBase
Generated after changing an existing Custom Field on the Address using the Set CustomField in Address 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.CustomerAddressCustomFieldChangedMessagePayload
CUSTOMER_ADDRESS_CUSTOM_FIELD_CHANGED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
Name of the Custom Field that has been changed.CustomFieldValue based on the FieldType before the Set CustomField update action.getType()
getValue()
CustomFieldValue based on the FieldType after the Set Custom Field update action.int
hashCode()
void
Name of the Custom Field that has been 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 Custom Field 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.CustomerAddressCustomFieldChangedMessagePayload
withCustomerAddressCustomFieldChangedMessagePayload
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
-
CustomerAddressCustomFieldChangedMessagePayloadImpl
create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getName
Name of the Custom Field that has been changed.
- Specified by:
getName
in interfaceCustomerAddressCustomFieldChangedMessagePayload
- Returns:
- name
-
getValue
CustomFieldValue based on the FieldType after the Set Custom Field update action.
- Specified by:
getValue
in interfaceCustomerAddressCustomFieldChangedMessagePayload
- 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 Customer Address before, a Customer Address Custom Field Added Message is generated instead.- Specified by:
getPreviousValue
in interfaceCustomerAddressCustomFieldChangedMessagePayload
- Returns:
- previousValue
-
setName
Description copied from interface:CustomerAddressCustomFieldChangedMessagePayload
Name of the Custom Field that has been changed.
- Specified by:
setName
in interfaceCustomerAddressCustomFieldChangedMessagePayload
- Parameters:
name
- value to be set
-
setValue
Description copied from interface:CustomerAddressCustomFieldChangedMessagePayload
CustomFieldValue based on the FieldType after the Set Custom Field update action.
- Specified by:
setValue
in interfaceCustomerAddressCustomFieldChangedMessagePayload
- Parameters:
value
- value to be set
-
setPreviousValue
Description copied from interface:CustomerAddressCustomFieldChangedMessagePayload
CustomFieldValue based on the FieldType before the Set CustomField update action. When there has not been a Custom Field with the
name
on the Customer Address before, a Customer Address Custom Field Added Message is generated instead.- Specified by:
setPreviousValue
in interfaceCustomerAddressCustomFieldChangedMessagePayload
- Parameters:
previousValue
- value to be set
-
equals
-
hashCode
-