Class SetCustomFieldChangeImpl
java.lang.Object
com.commercetools.history.models.change.SetCustomFieldChangeImpl
- All Implemented Interfaces:
Change,SetCustomFieldChange,io.vrap.rmf.base.client.ModelBase
public class SetCustomFieldChangeImpl
extends Object
implements SetCustomFieldChange, io.vrap.rmf.base.client.ModelBase
Change triggered by the following update actions:
- Set CustomField on Cart Discounts.
- Set CustomField on Categories.
- Set CustomField on Channels.
- Set CustomField on Customers.
- Set CustomField on Customer Groups.
- Set CustomField on Discount Codes.
- Set CustomField on Inventories.
- Set CustomField on Orders.
- Set CustomField on Order Edits.
- Set CustomField on Payments.
- Set CustomField on Product Selections.
- Set CustomField on Quotes.
- Set CustomField on Quote Requests.
- Set CustomField on Reviews.
- Set CustomField on Shopping Lists.
- Set CustomField on Staged Orders.
- Set CustomField on Staged Quotes.
- Set CustomField on Stores.
-
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.history.models.change.SetCustomFieldChange
SET_CUSTOM_FIELD_CHANGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanType of change on a resource that is similar to the update action it relates to, where possible.idof the referenced Type.getName()Name of the Custom Field.Value after the change.Value before the change.getType()Unique discriminator value to reliably deserialize the data type.inthashCode()voidset changevoidsetCustomTypeId(String customTypeId) idof the referenced Type.voidName of the Custom Field.voidsetNextValue(Object nextValue) Value after the change.voidsetPreviousValue(Object previousValue) Value before the change.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.commercetools.history.models.change.Change
withChangeMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionStringMethods inherited from interface com.commercetools.history.models.change.SetCustomFieldChange
withSetCustomFieldChange
-
Constructor Details
-
SetCustomFieldChangeImpl
public SetCustomFieldChangeImpl()create empty instance
-
-
Method Details
-
getType
Description copied from interface:ChangeUnique discriminator value to reliably deserialize the data type.
- Specified by:
getTypein interfaceChange- Specified by:
getTypein interfaceSetCustomFieldChange- Returns:
- type
-
getChange
Description copied from interface:ChangeType of change on a resource that is similar to the update action it relates to, where possible. It is not a unique identifier for the data structure, for example, the
setDescriptionchange can occur with a localized and non-localized representation.Records can be filtered by this value using the
changesquery parameter.- Specified by:
getChangein interfaceChange- Specified by:
getChangein interfaceSetCustomFieldChange- Returns:
- change
-
getPreviousValue
Value before the change.
- Specified by:
getPreviousValuein interfaceSetCustomFieldChange- Returns:
- previousValue
-
getNextValue
Value after the change.
- Specified by:
getNextValuein interfaceSetCustomFieldChange- Returns:
- nextValue
-
getName
Name of the Custom Field.
- Specified by:
getNamein interfaceSetCustomFieldChange- Returns:
- name
-
getCustomTypeId
idof the referenced Type.- Specified by:
getCustomTypeIdin interfaceSetCustomFieldChange- Returns:
- customTypeId
-
setChange
Description copied from interface:SetCustomFieldChangeset change- Specified by:
setChangein interfaceChange- Specified by:
setChangein interfaceSetCustomFieldChange- Parameters:
change- value to be set
-
setPreviousValue
Description copied from interface:SetCustomFieldChangeValue before the change.
- Specified by:
setPreviousValuein interfaceSetCustomFieldChange- Parameters:
previousValue- value to be set
-
setNextValue
Description copied from interface:SetCustomFieldChangeValue after the change.
- Specified by:
setNextValuein interfaceSetCustomFieldChange- Parameters:
nextValue- value to be set
-
setName
Description copied from interface:SetCustomFieldChangeName of the Custom Field.
- Specified by:
setNamein interfaceSetCustomFieldChange- Parameters:
name- value to be set
-
setCustomTypeId
Description copied from interface:SetCustomFieldChangeidof the referenced Type.- Specified by:
setCustomTypeIdin interfaceSetCustomFieldChange- Parameters:
customTypeId- value to be set
-
equals
-
hashCode
-